fixes casacore include path on das5
This commit is contained in:
parent
c660eb70e7
commit
e657c4769a
|
@ -106,15 +106,17 @@ endif()
|
|||
|
||||
# Check pre-defined environment variables
|
||||
## CASACORE_LIB=/cm/shared/package/casacore/v2.3.0-gcc-4.9.3/lib
|
||||
## CASACORE_INCLUDE=/cm/shared/package/casacore/v2.3.0-gcc-4.9.3/include
|
||||
## CASACORE_ROOT_DIR=/cm/shared/package/casacore/v2.3.0-gcc-4.9.3
|
||||
|
||||
|
||||
if (NOT "$ENV{CASACORE_ROOT_DIR}" STREQUAL "")
|
||||
set(CASACORE_ROOT_DIR "$ENV{CASACORE_ROOT_DIR}" CACHE INTERNAL "Copied from environment variable")
|
||||
message("Using environment variable CASACORE_ROOT_DIR = ${CASACORE_ROOT_DIR}")
|
||||
endif()
|
||||
|
||||
if (NOT "$ENV{CASACORE_INCLUDE}" STREQUAL "")
|
||||
set(CASACORE_INCLUDE_DIR "$ENV{CASACORE_INCLUDE}" CACHE INTERNAL "Copied from environment variable")
|
||||
message("Using environment variable CASACORE_INCLUDE_DIR = ${CASACORE_INCLUDE_DIR}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue