diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b0c435..316bc24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,7 +109,7 @@ ADD_DEFINITIONS( -DTIXML_USE_STL ) # hdf5 find_package(HDF5 1.8 COMPONENTS C HL REQUIRED) -INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIR}) +INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIRS}) link_directories(${HDF5_LIBRARIES}) # boost