Fixed building
This commit is contained in:
parent
b8e60a7d33
commit
883c338c08
1
external/external_build.cmake
vendored
1
external/external_build.cmake
vendored
@ -206,6 +206,7 @@ if (INTERNAL_NETCDF)
|
||||
DOWNLOAD_DIR ${SOURCE_PREFIX}/downloads
|
||||
URL ${NETCDFCXX_URL}
|
||||
CMAKE_ARGS
|
||||
-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH_ALT_SEP}
|
||||
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
|
||||
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
|
@ -1,4 +1,8 @@
|
||||
SET(tolink ${CosmoTool_local} ${CosmoTool_LIBS} ${GSL_LIBRARIES} ${DL_LIBRARY})
|
||||
if (RT_LIBRARY)
|
||||
SET(tolink ${tolink} ${RT_LIBRARY})
|
||||
endif()
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src)
|
||||
include_directories(${FFTW3_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS} ${GSL_INCLUDE_PATH})
|
||||
if(YORICK_SUPPORT)
|
||||
|
Loading…
Reference in New Issue
Block a user