summaryrefslogtreecommitdiffstats
path: root/fortran/testpar
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-05-03 14:28:54 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-05-03 14:28:54 (GMT)
commit1ab0814a4320eb8a4b93a85048419302218aeb34 (patch)
treedae7210c38c536d23799415a9e89c47dd02287ee /fortran/testpar
parentb73c0d2ab8c814634e44fa2d4b22abfaacdc1b67 (diff)
downloadhdf5-1ab0814a4320eb8a4b93a85048419302218aeb34.zip
hdf5-1ab0814a4320eb8a4b93a85048419302218aeb34.tar.gz
hdf5-1ab0814a4320eb8a4b93a85048419302218aeb34.tar.bz2
Fix link flags syntax
Diffstat (limited to 'fortran/testpar')
-rw-r--r--fortran/testpar/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/fortran/testpar/CMakeLists.txt b/fortran/testpar/CMakeLists.txt
index 31ae6ba..3d89e5e 100644
--- a/fortran/testpar/CMakeLists.txt
+++ b/fortran/testpar/CMakeLists.txt
@@ -32,9 +32,9 @@ target_link_libraries (parallel_test
set_target_properties (parallel_test PROPERTIES
FOLDER test/fortran
LINKER_LANGUAGE Fortran
- LINK_FLAGS ""
- $<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:"-SUBSYSTEM:CONSOLE">
- $<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:${WIN_LINK_FLAGS}>
+ LINK_FLAGS
+ "$<$<STREQUAL:\"x${CMAKE_Fortran_SIMULATE_ID}\",\"xMSVC\">:\"-SUBSYSTEM:CONSOLE\">
+ $<$<STREQUAL:\"x${CMAKE_Fortran_SIMULATE_ID}\",\"xMSVC\">:${WIN_LINK_FLAGS}>"
)
endif ()