Changeset 2210 for trunk/cmake
- Timestamp:
- 07/06/11 17:28:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/withcasa.cmake
r2183 r2210 72 72 message( STATUS "CASA_CODE_PATH = " ${CASA_CODE_PATH} ) 73 73 set( CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CASA_CODE_PATH}/install" ) 74 #unset( CASA_CODE_PATH CACHE )75 74 message( STATUS "CMAKE_MODULE_PATH = " ${CMAKE_MODULE_PATH} ) 76 75 … … 99 98 100 99 # 100 # CASA (only alma/ASDM) 101 # 102 find_path( LIBXML2_INCLUDE_DIR libxml/xmlversion.h 103 PATH_SUFFIXES libxml2 ) 104 if( LIBXML2_INCLUDE_DIR MATCHES "NOTFOUND$" ) 105 message( FATAL_ERROR "libxml/xmlversion.h could not be found. Please check!" ) 106 endif() 107 message( STATUS "LIBXML2_INCLUDE_DIR = " ${LIBXML2_INCLUDE_DIR} ) 108 find_path( LIBXML2_LIBRARY libxml2.so 109 PATHS /usr 110 PATH_SUFFIXES lib64 lib ) 111 #find_path( LIBXML2_LIBRARY libxml2.so ) 112 if ( LIBXML2_LIBRARY MATCHES "NOTFOUND$" ) 113 message( FATAL_ERROR "libxml2.so could not be found. Please check!" ) 114 endif() 115 message( STATUS "LIBXML2_LIBRARY = " ${LIBXML2_LIBRARY} ) 116 set( ASDM_INCLUDE_DIR ${CASA_CODE_PATH}/alma/implement/ASDM 117 ${CASA_CODE_PATH}/alma/implement/Enumerations 118 ${CASA_CODE_PATH}/alma/implement/ASDMBinaries 119 ${CASA_CODE_PATH}/alma/implement/Enumtcl 120 ${LIBXML2_INCLUDE_DIR} ) 121 set( ASDM_LIBRARY ${casaroot}/${arch}/lib/libalma.so 122 ${LIBXML2_LIBRARY}/libxml2.so ) 123 add_definitions( -DWITHOUT_ACS ) 124 125 # 101 126 # subdirectories 102 127 # ASAP2TO3 asap2to3 apps … … 114 139 add_subdirectory( python ) 115 140 add_subdirectory( share ) 141 add_subdirectory( external-alma/asdm2ASAP ) 116 142 endmacro( asap_add_subdirectory ) 117 143
Note:
See TracChangeset
for help on using the changeset viewer.