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