mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
CMake: Fix mingw/fortran build (#4466)
This commit is contained in:
parent
18321dee40
commit
239d2f849d
@ -406,7 +406,7 @@ if (BUILD_STATIC_LIBS)
|
||||
endif ()
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
if(WIN32)
|
||||
if(MSVC)
|
||||
set(DLLDEF ${HDF5_F90_SRC_BINARY_DIR}/hdf5_fortrandll.def)
|
||||
else()
|
||||
set(DLLDEF "")
|
||||
|
@ -193,7 +193,7 @@ if (BUILD_STATIC_LIBS)
|
||||
add_dependencies(${HDF5_HL_F90_LIB_TARGET} H5HLgen)
|
||||
endif ()
|
||||
if (BUILD_SHARED_LIBS)
|
||||
if(WIN32)
|
||||
if(MSVC)
|
||||
set(DLLDEF ${HDF5_HL_F90_SRC_BINARY_DIR}/hdf5_hl_fortrandll.def)
|
||||
else()
|
||||
set(DLLDEF "")
|
||||
|
Loading…
Reference in New Issue
Block a user