diff options
Diffstat (limited to 'hl/fortran/src/CMakeLists.txt')
-rw-r--r-- | hl/fortran/src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt index e52855c..9cbf634 100644 --- a/hl/fortran/src/CMakeLists.txt +++ b/hl/fortran/src/CMakeLists.txt @@ -65,7 +65,7 @@ if (BUILD_SHARED_LIBS) BUILD_HDF5_HL_DLL ) if (MSVC) - set (SHARED_LINK_FLAGS "/DLL") + set (SHARED_LINK_FLAGS "/DLL /DEF:${HDF5_F90_SRC_BINARY_DIR}/hdf5_hl_fortrandll.def") endif (MSVC) endif (WIN32) endif (BUILD_SHARED_LIBS) |