diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-09-19 15:20:49 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-09-19 15:20:49 (GMT) |
commit | c635d463115efdd60bbcd9654644d6b298fd7cd3 (patch) | |
tree | 57c7c86b345265dac9e32364f4efb40bd094ee43 | |
parent | 99d6246fc2934a9eddda8e6b2a724e4c551c5755 (diff) | |
download | hdf5-c635d463115efdd60bbcd9654644d6b298fd7cd3.zip hdf5-c635d463115efdd60bbcd9654644d6b298fd7cd3.tar.gz hdf5-c635d463115efdd60bbcd9654644d6b298fd7cd3.tar.bz2 |
Add missing command to set shared generated file
-rw-r--r-- | fortran/src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt index f123420..278f814 100644 --- a/fortran/src/CMakeLists.txt +++ b/fortran/src/CMakeLists.txt @@ -151,8 +151,6 @@ if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) set (install_targets ${install_targets} ${HDF5_F90_C_LIBSH_TARGET}) endif (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) -set_source_files_properties (${HDF5_F90_BINARY_DIR}/H5_gen.F90 PROPERTIES GENERATED TRUE) - #----------------------------------------------------------------------------- # Fortran Modules #----------------------------------------------------------------------------- @@ -179,6 +177,7 @@ set (f90_F_BASE_SOURCES ${HDF5_F90_SRC_SOURCE_DIR}/H5Zff.F90 ) +set_source_files_properties (${HDF5_F90_BINARY_DIR}/H5_gen.F90 PROPERTIES GENERATED TRUE) set (f90_F_SOURCES ${f90_F_BASE_SOURCES} @@ -189,6 +188,7 @@ set (f90_F_SOURCES ${HDF5_F90_SRC_SOURCE_DIR}/HDF5.F90 ) if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) + set_source_files_properties (${HDF5_F90_BINARY_DIR}/shared/H5_gen.F90 PROPERTIES GENERATED TRUE) set (f90_F_SOURCES_SHARED ${f90_F_BASE_SOURCES} |