summaryrefslogtreecommitdiffstats
path: root/fortran/examples
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-05-05 20:57:40 (GMT)
committerGitHub <noreply@github.com>2023-05-05 20:57:40 (GMT)
commit4b228ec6af3c53956fba7822c0ae808d3d3e2cb3 (patch)
tree134559dc3c077697845f0158e9da73162210ff2f /fortran/examples
parentcc4d63b026dd0c392adc28e90a14eec47cb10bdd (diff)
downloadhdf5-4b228ec6af3c53956fba7822c0ae808d3d3e2cb3.zip
hdf5-4b228ec6af3c53956fba7822c0ae808d3d3e2cb3.tar.gz
hdf5-4b228ec6af3c53956fba7822c0ae808d3d3e2cb3.tar.bz2
Fix CMake generator expression syntax (#2909)
Diffstat (limited to 'fortran/examples')
-rw-r--r--fortran/examples/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/examples/CMakeLists.txt b/fortran/examples/CMakeLists.txt
index e7edf40..3a16c23 100644
--- a/fortran/examples/CMakeLists.txt
+++ b/fortran/examples/CMakeLists.txt
@@ -137,7 +137,7 @@ if (H5_HAVE_PARALLEL AND MPI_Fortran_FOUND)
PRIVATE
${HDF5_F90_LIB_TARGET}
${HDF5_LIB_TARGET}
- $<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_Fortran_LIBRARIES}>
+ "$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_Fortran_LIBRARIES}>"
)
set_target_properties (f90_ex_ph5example PROPERTIES
LINKER_LANGUAGE Fortran
@@ -158,7 +158,7 @@ if (H5_HAVE_PARALLEL AND MPI_Fortran_FOUND)
PRIVATE
${HDF5_F90_LIBSH_TARGET}
${HDF5_LIBSH_TARGET}
- $<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_Fortran_LIBRARIES}>
+ "$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_Fortran_LIBRARIES}>"
)
set_target_properties (f90_ex_ph5example PROPERTIES
LINKER_LANGUAGE Fortran