summaryrefslogtreecommitdiffstats
path: root/tools/src/h5diff
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2018-07-27 19:58:01 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2018-07-27 19:58:01 (GMT)
commitd075c0854d1ffb5a8eae23c5eb9a4456067f30c9 (patch)
treea12ca96600ceef817e2c99e3cad2712a010a17a7 /tools/src/h5diff
parent272eb4b8bffd2ab732d268c421583587317b8dc2 (diff)
downloadhdf5-d075c0854d1ffb5a8eae23c5eb9a4456067f30c9.zip
hdf5-d075c0854d1ffb5a8eae23c5eb9a4456067f30c9.tar.gz
hdf5-d075c0854d1ffb5a8eae23c5eb9a4456067f30c9.tar.bz2
Add quotes to places where MPI_C_LIBRARIES are linked against
Diffstat (limited to 'tools/src/h5diff')
-rw-r--r--tools/src/h5diff/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5diff/CMakeLists.txt b/tools/src/h5diff/CMakeLists.txt
index b990e3a..671e6b6 100644
--- a/tools/src/h5diff/CMakeLists.txt
+++ b/tools/src/h5diff/CMakeLists.txt
@@ -37,7 +37,7 @@ if (H5_HAVE_PARALLEL)
)
target_include_directories(ph5diff PRIVATE "${HDF5_TOOLS_DIR}/lib;${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
TARGET_C_PROPERTIES (ph5diff STATIC)
- target_link_libraries (ph5diff PRIVATE ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET} $<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_LIBRARIES}>)
+ target_link_libraries (ph5diff PRIVATE ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET} "$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_LIBRARIES}>")
set_target_properties (ph5diff PROPERTIES FOLDER tools)
set_global_variable (HDF5_UTILS_TO_EXPORT "${HDF5_UTILS_TO_EXPORT};ph5diff")
endif ()