From 23518278e8687cabd83b543afa22b58eaf049d6d Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Wed, 5 Oct 2016 20:25:26 +0200 Subject: [PATCH] build: fix hdf5 libraries for newer cmake Signed-off-by: Thorsten Liebig --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a2d86d..9b0c435 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,7 +110,7 @@ ADD_DEFINITIONS( -DTIXML_USE_STL ) # hdf5 find_package(HDF5 1.8 COMPONENTS C HL REQUIRED) INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIR}) -link_directories(${HDF5_LIBRARY_DIRS}) +link_directories(${HDF5_LIBRARIES}) # boost find_package(Boost 1.46 COMPONENTS