Changeset 3107
- Timestamp:
- 11/08/16 18:25:12 (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r3106 r3107 348 348 casa_find( 349 349 PYTHON${_v} 350 #PREFIX_HINTS ${PYTHON_ROOT_DIR}350 PREFIX_HINTS ${PYTHON_ROOT_DIR} 351 351 LIBS python${_v} 352 352 NO_REQUIRE … … 405 405 INCLUDES_SUFFIXES python${PYTHONV} 406 406 PREFIX_HINTS 407 ${PYTHON_ROOT_DIR} 407 408 ${NUMPY_ROOT_DIR} 408 409 ${python_prefix}/lib/python${PYTHONV}/site-packages/numpy/core … … 653 654 set( _wcs_version 4.3 ) 654 655 find_library( WCSLIB ${_wcslib} 655 PATHS ${WCSLIB_ PATHS}656 PATHS ${WCSLIB_ROOT_DIR} ${WCSLIB_PATHS} 656 657 PATH_SUFFIXES lib64 lib ) 657 658 if( WCSLIB MATCHES "NOTFOUND$" ) … … 661 662 set( _wcslib libwcs.${_wcs_version}.${SO} ) 662 663 message( STATUS "Try to find ${_wcslib}..." ) 664 message( STATUS "looking in ${WCSLIB_PATHS}..." ) 663 665 find_library( WCSLIB ${_wcslib} 664 PATHS ${WCSLIB_ PATHS}666 PATHS ${WCSLIB_ROOT_DIR} ${WCSLIB_PATHS} 665 667 PATH_SUFFIXES lib64 lib ) 666 668 if( WCSLIB MATCHES "NOTFOUND$" ) … … 670 672 message( STATUS "WCSLIB = " ${WCSLIB} ) 671 673 find_path( WCSLIB_INCLUDE_DIR wcslib/wcs.h 672 PATHS ${WCSLIB_ PATHS}674 PATHS ${WCSLIB_ROOT_DIR} ${WCSLIB_PATHS} 673 675 PATH_SUFFIXES include ) 674 676 if( WCSLIB_INCLUDE_DIR MATCHES "NOTFOUND$" ) … … 699 701 set( PYTHON_INSTALL_DIR python/${PYTHONV}/asap ) 700 702 set( SHARED_INSTALL_DIR share/asap ) 703 if( NOT STANDALONE ) 704 if( EXISTS ${CMAKE_INSTALL_PREFIX}/python${PYTHONV} ) 705 message( STATUS "adjusting PYTHON_INSTALL_DIR to python${PYTHONV}/asap" ) 706 set( PYTHON_INSTALL_DIR python${PYTHONV}/asap ) 707 endif() 708 endif() 701 709 702 710 # -
trunk/cmake/withcasa.cmake
r3055 r3107 58 58 elseif( CMAKE_SYSTEM_NAME STREQUAL Linux ) 59 59 if( CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 ) 60 if ( EXISTS /usr/lib64/casa/01 ) 60 if ( EXISTS /usr/lib64/casa/02 ) 61 set( casa_packages /opt/casa/02 ) 62 elseif ( EXISTS /usr/lib64/casa/01 ) 61 63 set( casa_packages /usr/lib64/casa/01 ) 62 64 else( )
Note:
See TracChangeset
for help on using the changeset viewer.