diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-03-23 17:01:51 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-03-23 17:01:51 (GMT) |
commit | 1180b5799006a39880f681ed9a7f773619528546 (patch) | |
tree | d4a1f5afcee7bdafbb20b41399fc3726ab7bdff8 /fortran | |
parent | 245f874eb13269838020691ea75bf31c7e0ae77a (diff) | |
download | hdf5-1180b5799006a39880f681ed9a7f773619528546.zip hdf5-1180b5799006a39880f681ed9a7f773619528546.tar.gz hdf5-1180b5799006a39880f681ed9a7f773619528546.tar.bz2 |
[svn-r26530] Add back Windows dll export define
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt index d43f23c..22a091e 100644 --- a/fortran/src/CMakeLists.txt +++ b/fortran/src/CMakeLists.txt @@ -234,6 +234,10 @@ add_library (${HDF5_F90_LIB_TARGET} ${LIB_TYPE} ${f90_F_SRCS}) set (SHARED_LINK_FLAGS " ") if (WIN32) if (BUILD_SHARED_LIBS) + set_property (TARGET ${HDF5_F90_LIB_TARGET} + APPEND PROPERTY COMPILE_DEFINITIONS + BUILD_HDF5_DLL + ) if (MSVC) set (SHARED_LINK_FLAGS "/DLL /DEF:${HDF5_F90_SRC_BINARY_DIR}/hdf5_fortrandll.def") endif (MSVC) |