Changeset 2236
- Timestamp:
- 07/19/11 14:56:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/withcasa.cmake
r2210 r2236 106 106 endif() 107 107 message( STATUS "LIBXML2_INCLUDE_DIR = " ${LIBXML2_INCLUDE_DIR} ) 108 find_path( LIBXML2_LIBRARY libxml2 .so108 find_path( LIBXML2_LIBRARY libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} 109 109 PATHS /usr 110 110 PATH_SUFFIXES lib64 lib ) 111 111 #find_path( LIBXML2_LIBRARY libxml2.so ) 112 112 if ( LIBXML2_LIBRARY MATCHES "NOTFOUND$" ) 113 message( FATAL_ERROR "libxml2 .so could not be found. Please check!" )113 message( FATAL_ERROR "libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} could not be found. Please check!" ) 114 114 endif() 115 115 message( STATUS "LIBXML2_LIBRARY = " ${LIBXML2_LIBRARY} ) … … 119 119 ${CASA_CODE_PATH}/alma/implement/Enumtcl 120 120 ${LIBXML2_INCLUDE_DIR} ) 121 set( ASDM_LIBRARY ${casaroot}/${arch}/lib/libalma .so122 ${LIBXML2_LIBRARY}/libxml2.so)121 set( ASDM_LIBRARY ${casaroot}/${arch}/lib/libalma${CMAKE_SHARED_LIBRARY_SUFFIX} 122 ${LIBXML2_LIBRARY}/libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} ) 123 123 add_definitions( -DWITHOUT_ACS ) 124 124
Note:
See TracChangeset
for help on using the changeset viewer.