summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-04-27 18:04:40 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-04-27 18:04:40 (GMT)
commit80afe46e70a824086f4744081eaf92836639109d (patch)
tree3d7d9ae0c0e557bdc4439edc9870cdd91c594b4c /config
parent120195e5aadaa200e33520f2cee92b05492b9585 (diff)
downloadhdf5-80afe46e70a824086f4744081eaf92836639109d.zip
hdf5-80afe46e70a824086f4744081eaf92836639109d.tar.gz
hdf5-80afe46e70a824086f4744081eaf92836639109d.tar.bz2
TRILABS-19 revert to previous method
Diffstat (limited to 'config')
-rw-r--r--config/cmake_ext_mod/HDFMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake
index 66e581d..6586e81 100644
--- a/config/cmake_ext_mod/HDFMacros.cmake
+++ b/config/cmake_ext_mod/HDFMacros.cmake
@@ -242,7 +242,7 @@ macro (TARGET_FORTRAN_PROPERTIES forttarget libtype)
$<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:${WIN_COMPILE_FLAGS}>
)
endif ()
- target_link_libraries(${forttarget} INTERFACE
+ set_target_properties (${forttarget} PROPERTIES LINK_FLAGS
$<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:"/SUBSYSTEM:CONSOLE">
$<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:${WIN_LINK_FLAGS}>
)