diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b420c13e..3959566dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ set(DAGMC_VERSION ${DAGMC_MAJOR_VERSION}.${DAGMC_MINOR_VERSION}.${DAGMC_PATCH_VE if(MSVC) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE) + add_definitions( -DH5_BUILT_AS_DYNAMIC_LIB ) endif()