summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-06-17 14:13:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-06-17 14:13:30 (GMT)
commit6c3284f8b3db5a49eb19d52c957467dae202a144 (patch)
tree151fd0b925c8cb09c93408a72aeb501fb4da33e5
parentbdbd06d85d6f1ea3b088ac3f180c23e1389aefaa (diff)
downloadhdf5-6c3284f8b3db5a49eb19d52c957467dae202a144.zip
hdf5-6c3284f8b3db5a49eb19d52c957467dae202a144.tar.gz
hdf5-6c3284f8b3db5a49eb19d52c957467dae202a144.tar.bz2
[svn-r23784] Remove ignored FLAGS from MSVC variant of C compile/link. Incorrect copy from Fortran macro
-rw-r--r--config/cmake/HDFMacros.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake/HDFMacros.cmake b/config/cmake/HDFMacros.cmake
index 1a2d11b..b0788f2 100644
--- a/config/cmake/HDFMacros.cmake
+++ b/config/cmake/HDFMacros.cmake
@@ -147,14 +147,14 @@ MACRO (TARGET_MSVC_PROPERTIES wintarget addcompileflags addlinkflags)
IF (BUILD_SHARED_LIBS)
SET_TARGET_PROPERTIES (${wintarget}
PROPERTIES
- COMPILE_FLAGS "/dll ${addcompileflags}"
- LINK_FLAGS "/SUBSYSTEM:CONSOLE ${addlinkflags}"
+ COMPILE_FLAGS "${addcompileflags}"
+ LINK_FLAGS "${addlinkflags}"
)
ELSE (BUILD_SHARED_LIBS)
SET_TARGET_PROPERTIES (${wintarget}
PROPERTIES
COMPILE_FLAGS "${addcompileflags}"
- LINK_FLAGS "/SUBSYSTEM:CONSOLE ${addlinkflags}"
+ LINK_FLAGS "${addlinkflags}"
)
ENDIF (BUILD_SHARED_LIBS)
ENDIF (MSVC)