summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-06-10 20:39:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-06-10 20:39:00 (GMT)
commit8f0c245f727ad226cef00afc73fc25f7ef59f1f3 (patch)
tree2e1b2edd4e28af4ebd10bee0cde4276e09ef65cb /config
parent7e2733da8cd2502d224a3dc6975f3dec12548838 (diff)
downloadhdf5-8f0c245f727ad226cef00afc73fc25f7ef59f1f3.zip
hdf5-8f0c245f727ad226cef00afc73fc25f7ef59f1f3.tar.gz
hdf5-8f0c245f727ad226cef00afc73fc25f7ef59f1f3.tar.bz2
[svn-r23748] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake support needed. Correct Properties tag name
Diffstat (limited to 'config')
-rw-r--r--config/cmake/HDFMacros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDFMacros.cmake b/config/cmake/HDFMacros.cmake
index e9e9665..1a2d11b 100644
--- a/config/cmake/HDFMacros.cmake
+++ b/config/cmake/HDFMacros.cmake
@@ -132,7 +132,7 @@ MACRO (TARGET_C_PROPERTIES wintarget addcompileflags addlinkflags)
LINK_FLAGS "${addlinkflags}"
)
ELSE (BUILD_SHARED_LIBS)
- SET_TARGET_PROPERTIES (${forttarget}
+ SET_TARGET_PROPERTIES (${wintarget}
PROPERTIES
COMPILE_FLAGS "${addcompileflags}"
LINK_FLAGS "${addlinkflags}"
@@ -151,7 +151,7 @@ MACRO (TARGET_MSVC_PROPERTIES wintarget addcompileflags addlinkflags)
LINK_FLAGS "/SUBSYSTEM:CONSOLE ${addlinkflags}"
)
ELSE (BUILD_SHARED_LIBS)
- SET_TARGET_PROPERTIES (${forttarget}
+ SET_TARGET_PROPERTIES (${wintarget}
PROPERTIES
COMPILE_FLAGS "${addcompileflags}"
LINK_FLAGS "/SUBSYSTEM:CONSOLE ${addlinkflags}"