Fixed linking problems to GSL
This commit is contained in:
parent
f94e2912d4
commit
607f452f7c
3 changed files with 4 additions and 2 deletions
|
@ -48,7 +48,7 @@ SET(CosmoTool_SRCS ${CosmoTool_SRCS}
|
|||
|
||||
include_directories(${GSL_INCLUDE_PATH} ${NETCDF_INCLUDE_PATH})
|
||||
|
||||
set(CosmoTool_LIBS ${NETCDF_LIBRARY} ${NETCDFCPP_LIBRARY} ${GSL_LIBRARY} ${GSLCBLAS_LIBRARY})
|
||||
set(CosmoTool_LIBS ${NETCDF_LIBRARY} ${NETCDFCPP_LIBRARY} ${GSL_LIBRARIES})
|
||||
if (HDF5_FOUND)
|
||||
set(CosmoTool_LIBS ${CosmoTool_LIBS} ${HDF5_CXX_LIBRARIES} ${HDF5_LIBRARIES})
|
||||
include_directories(${HDF5_INCLUDE_DIRS})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue