Fixed linking problems to GSL

This commit is contained in:
Guilhem Lavaux 2011-12-03 10:00:38 -05:00
parent f94e2912d4
commit 607f452f7c
3 changed files with 4 additions and 2 deletions

View file

@ -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})