From da01fc87b690a13bc5b229f01673fc94eccb5201 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 29 Oct 2015 11:06:23 +0100 Subject: [PATCH] Changed cmake variables again --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5596c9c..98f752d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -76,7 +76,7 @@ if(YORICK_SUPPORT) include_directories(${NETCDF_INCLUDE_PATH} ${NETCDFCPP_INCLUDE_PATH}) endif(YORICK_SUPPORT) if (HDF5_FOUND) - set(CosmoTool_LIBS ${CosmoTool_LIBS} ${HDF5_CPP_LIBRARY} ${HDF5_LIBRARY} ${ZLIB}) + set(CosmoTool_LIBS ${CosmoTool_LIBS} ${HDF5_CXX_LIBRARIES} ${HDF5_C_LIBRARIES} ${ZLIB}) include_directories(${HDF5_INCLUDE_DIRS}) endif (HDF5_FOUND)