summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-02-20 20:18:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-02-20 20:18:42 (GMT)
commitd0ae86bc64d2bfedeeb605951eb2ca73a4d6b0b9 (patch)
tree615d70b519a8ae66f373108429a4fedc851bf3b5 /CMakeLists.txt
parentbf908ca553e3eadcb069b67e104462b7f00c3449 (diff)
downloadhdf5-d0ae86bc64d2bfedeeb605951eb2ca73a4d6b0b9.zip
hdf5-d0ae86bc64d2bfedeeb605951eb2ca73a4d6b0b9.tar.gz
hdf5-d0ae86bc64d2bfedeeb605951eb2ca73a4d6b0b9.tar.bz2
[svn-r24724] Fix MPI linker flags with quotes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 36fe47c..4664942 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -682,7 +682,7 @@ ENDIF (HDF5_ENABLE_PARALLEL)
IF (H5_HAVE_PARALLEL)
SET (LINK_LIBS ${LINK_LIBS} ${MPI_C_LIBRARIES})
IF (MPI_C_LINK_FLAGS)
- SET (CMAKE_EXE_LINKER_FLAGS ${MPI_C_LINK_FLAGS} ${CMAKE_EXE_LINKER_FLAGS})
+ SET (CMAKE_EXE_LINKER_FLAGS "${MPI_C_LINK_FLAGS} ${CMAKE_EXE_LINKER_FLAGS}")
ENDIF (MPI_C_LINK_FLAGS)
ENDIF (H5_HAVE_PARALLEL)