From 566962c5169c9022fa04badb611632398cc7cc98 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Thu, 8 Jul 2021 15:15:55 +0200 Subject: [PATCH] cmake: static link hdf5 maybe only windows? Signed-off-by: Thorsten Liebig --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dfc9583..1fa12c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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