summaryrefslogtreecommitdiffstats
path: root/fortran/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-05-03 20:41:50 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-05-03 20:41:50 (GMT)
commit6fcf4c9aeb12edf206e5d548f6f060fb979d4fbb (patch)
tree98690fdf2f0c4d5c0f26932cf72ea7351451636e /fortran/src
parentbae6ca856d5be06ded82b132dc92b3aa4928e726 (diff)
downloadhdf5-6fcf4c9aeb12edf206e5d548f6f060fb979d4fbb.zip
hdf5-6fcf4c9aeb12edf206e5d548f6f060fb979d4fbb.tar.gz
hdf5-6fcf4c9aeb12edf206e5d548f6f060fb979d4fbb.tar.bz2
Remove APPEND
Diffstat (limited to 'fortran/src')
-rw-r--r--fortran/src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index cafcbce..e630340 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -58,7 +58,7 @@ endif ()
# LINK_FLAGS $<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:"-SUBSYSTEM:CONSOLE">
#)
if(MSVC)
- set_property(TARGET H5_buildiface APPEND PROPERTY LINK_FLAGS "-SUBSYSTEM:CONSOLE")
+ set_property(TARGET H5_buildiface PROPERTY LINK_FLAGS "/SUBSYSTEM:CONSOLE")
endif()
set_target_properties (H5_buildiface PROPERTIES
@@ -277,7 +277,7 @@ target_link_libraries (${HDF5_F90_LIB_TARGET}
# LINK_FLAGS $<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:${WIN_LINK_FLAGS}>
#)
if(MSVC)
- set_property(TARGET ${HDF5_F90_LIB_TARGET} APPEND PROPERTY LINK_FLAGS "-SUBSYSTEM:CONSOLE;${WIN_LINK_FLAGS}")
+ set_property(TARGET ${HDF5_F90_LIB_TARGET} PROPERTY LINK_FLAGS "/SUBSYSTEM:CONSOLE;${WIN_LINK_FLAGS}")
endif()
set_target_properties (${HDF5_F90_LIB_TARGET} PROPERTIES
FOLDER libraries/fortran
@@ -324,7 +324,7 @@ if (BUILD_SHARED_LIBS)
# LINK_FLAGS $<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:"-DEF:${HDF5_F90_SRC_BINARY_DIR}/hdf5_fortrandll.def">
# )
if(MSVC)
- set_property(TARGET ${HDF5_F90_LIBSH_TARGET} APPEND PROPERTY LINK_FLAGS "-SUBSYSTEM:CONSOLE;${WIN_LINK_FLAGS};-DLL;-DEF:${HDF5_F90_SRC_BINARY_DIR}/hdf5_fortrandll.def")
+ set_property(TARGET ${HDF5_F90_LIBSH_TARGET} PROPERTY LINK_FLAGS "/SUBSYSTEM:CONSOLE;${WIN_LINK_FLAGS};/DLL;/DEF:${HDF5_F90_SRC_BINARY_DIR}/hdf5_fortrandll.def")
endif()
set_target_properties (${HDF5_F90_LIBSH_TARGET} PROPERTIES
FOLDER libraries/fortran