summaryrefslogtreecommitdiffstats
path: root/c++/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-18 14:21:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-18 14:21:00 (GMT)
commit17474a232fa0bd2a7fb8da8e9e97d9050cbc0443 (patch)
tree51bcb3747e4b5eb7297a2a1ea5e1b6c7e654aabf /c++/src
parent0a9180c0746618d08396d57f3fa5c94aa45e5b65 (diff)
downloadhdf5-17474a232fa0bd2a7fb8da8e9e97d9050cbc0443.zip
hdf5-17474a232fa0bd2a7fb8da8e9e97d9050cbc0443.tar.gz
hdf5-17474a232fa0bd2a7fb8da8e9e97d9050cbc0443.tar.bz2
HDFFV-10845 quote multiple strings in cmake link command
Diffstat (limited to 'c++/src')
-rw-r--r--c++/src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt
index 4e668d6..0871123 100644
--- a/c++/src/CMakeLists.txt
+++ b/c++/src/CMakeLists.txt
@@ -114,7 +114,7 @@ if (BUILD_SHARED_LIBS)
TARGET_C_PROPERTIES (${HDF5_CPP_LIBSH_TARGET} SHARED)
target_link_libraries (${HDF5_CPP_LIBSH_TARGET}
PUBLIC ${HDF5_LIBSH_TARGET}
- PRIVATE $<$<PLATFORM_ID:MinGW>:-static -static-libgcc -static-libstdc++ -dynamic>
+ PRIVATE "$<$<PLATFORM_ID:MinGW>:-static -static-libgcc -static-libstdc++ -dynamic>"
)
set_global_variable (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_CPP_LIBSH_TARGET}")
H5_SET_LIB_OPTIONS (${HDF5_CPP_LIBSH_TARGET} ${HDF5_CPP_LIB_NAME} SHARED "CXX")