summaryrefslogtreecommitdiffstats
path: root/fortran/src
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-07-15 15:57:40 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-07-15 15:57:40 (GMT)
commit4667abe8a52a0147cd29b9991d196725dec3afc3 (patch)
treee9d54a084230e0b27f2c5b0d6980de36994178f0 /fortran/src
parentb1800ed76717cb80d5de44a9ce1acb8b1f1baca1 (diff)
downloadhdf5-4667abe8a52a0147cd29b9991d196725dec3afc3.zip
hdf5-4667abe8a52a0147cd29b9991d196725dec3afc3.tar.gz
hdf5-4667abe8a52a0147cd29b9991d196725dec3afc3.tar.bz2
[svn-r27391] Added build dependencies to generated files
Diffstat (limited to 'fortran/src')
-rw-r--r--fortran/src/CMakeLists.txt10
1 files changed, 3 insertions, 7 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index 21cf457..82554bb 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -161,16 +161,12 @@ set (f90_F_SRCS
)
set_source_files_properties (${f90_F_SRCS} PROPERTIES LANGUAGE Fortran)
-set_source_files_properties(
- ${HDF5_F90_BINARY_DIR}/H5_gen.F90
- PROPERTIES OBJECT_DEPENDS
- ${f90_F_BASE_SRCS}
+set_source_files_properties (${HDF5_F90_BINARY_DIR}/H5_gen.F90
+ PROPERTIES OBJECT_DEPENDS "${f90_F_BASE_SRCS}"
)
set_source_files_properties(
${HDF5_F90_BINARY_DIR}/HDF5.F90
- PROPERTIES OBJECT_DEPENDS
- ${f90_F_BASE_SRCS}
- ${HDF5_F90_BINARY_DIR}/H5_gen.F90
+ PROPERTIES OBJECT_DEPENDS "${f90_F_BASE_SRCS} ${HDF5_F90_BINARY_DIR}/H5_gen.F90"
)
#-----------------------------------------------------------------------------