Changeset 2183 for trunk/cmake
- Timestamp:
- 05/30/11 16:34:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/withcasa.cmake
r2182 r2183 63 63 64 64 # modules 65 IF ( EXISTS ${casaroot}/code/install ) 66 set( CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${casaroot}/code/install" ) 67 ELSE() 68 set( CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_SOURCE_DIR}/../code/install" ) 65 IF ( NOT DEFINED CASA_CODE_PATH ) 66 IF ( EXISTS ${casaroot}/code/install ) 67 set( CASA_CODE_PATH ${casaroot}/code ) 68 ELSE() 69 set( CASA_CODE_PATH ${CMAKE_SOURCE_DIR}/../code ) 70 ENDIF() 69 71 ENDIF() 72 message( STATUS "CASA_CODE_PATH = " ${CASA_CODE_PATH} ) 73 set( CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CASA_CODE_PATH}/install" ) 74 #unset( CASA_CODE_PATH CACHE ) 70 75 message( STATUS "CMAKE_MODULE_PATH = " ${CMAKE_MODULE_PATH} ) 71 76
Note:
See TracChangeset
for help on using the changeset viewer.