summaryrefslogtreecommitdiffstats
path: root/fortran/examples
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-05-05 20:42:46 (GMT)
committerGitHub <noreply@github.com>2023-05-05 20:42:46 (GMT)
commit0325220cc048465b59ca98ea0e7e4442608a76fe (patch)
tree940c336e80df971e491ff159ff0cbe39613442c8 /fortran/examples
parent29f29c297ca9e52a9a8ff40e7145c88d1e22feb5 (diff)
downloadhdf5-0325220cc048465b59ca98ea0e7e4442608a76fe.zip
hdf5-0325220cc048465b59ca98ea0e7e4442608a76fe.tar.gz
hdf5-0325220cc048465b59ca98ea0e7e4442608a76fe.tar.bz2
Fix CMake generator expression syntax (#2910)
* Fix CMake generator expression syntax * Add missing quotes
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