diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-01-05 14:45:09 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-01-05 14:45:09 (GMT) |
commit | 865cc514351c7088e5b5b7dfcbedb7c58e147c1b (patch) | |
tree | 2926ddcfd6219e96c4fcb9636dea9f02c8d23cc5 /config | |
parent | 3771df0757094854a676be888e777e1d4c690aa7 (diff) | |
download | hdf5-865cc514351c7088e5b5b7dfcbedb7c58e147c1b.zip hdf5-865cc514351c7088e5b5b7dfcbedb7c58e147c1b.tar.gz hdf5-865cc514351c7088e5b5b7dfcbedb7c58e147c1b.tar.bz2 |
[svn-r19908] Change how LINK_FLAGS for fortran are appended on Windows
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/HDF5Macros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake index 808f7c4..20b5933 100644 --- a/config/cmake/HDF5Macros.cmake +++ b/config/cmake/HDF5Macros.cmake @@ -127,13 +127,13 @@ MACRO (H5_SET_LIB_OPTIONS libtarget libname libtype) ENDMACRO (H5_SET_LIB_OPTIONS) #------------------------------------------------------------------------------- -MACRO (TARGET_FORTRAN_WIN_PROPERTIES target) +MACRO (TARGET_FORTRAN_WIN_PROPERTIES target add_link_flags) IF (WIN32) IF (MSVC) SET_TARGET_PROPERTIES (${target} PROPERTIES COMPILE_FLAGS "/dll" - LINK_FLAGS "/SUBSYSTEM:CONSOLE" + LINK_FLAGS "/SUBSYSTEM:CONSOLE ${add_link_flags}" ) ENDIF (MSVC) ENDIF (WIN32) |