build: fix hdf5 libraries for newer cmake

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/22/head
Thorsten Liebig 2016-10-05 20:25:26 +02:00
parent 3560e17897
commit 23518278e8
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ ADD_DEFINITIONS( -DTIXML_USE_STL )
# hdf5 # hdf5
find_package(HDF5 1.8 COMPONENTS C HL REQUIRED) find_package(HDF5 1.8 COMPONENTS C HL REQUIRED)
INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIR}) INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIR})
link_directories(${HDF5_LIBRARY_DIRS}) link_directories(${HDF5_LIBRARIES})
# boost # boost
find_package(Boost 1.46 COMPONENTS find_package(Boost 1.46 COMPONENTS