cmake: static link hdf5

maybe only windows?

Signed-off-by: Thorsten Liebig <liebig@imst.de>
pull/80/head
Thorsten Liebig 2021-07-08 15:15:55 +02:00
parent f9c8954ed3
commit 566962c516
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIRS})
link_directories(${HDF5_LIBRARIES})
# hdf5 compat
#ADD_DEFINITIONS( -DH5_USE_16_API )
ADD_DEFINITIONS( -DH5_BUILT_AS_DYNAMIC_LIB )
#ADD_DEFINITIONS( -DH5_BUILT_AS_DYNAMIC_LIB )
# boost
find_package(Boost 1.46 COMPONENTS