diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-08-05 19:07:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 19:07:55 (GMT) |
commit | 524a71ef6779f2789ea50df4eb930b3cbc71c61b (patch) | |
tree | 3ca3350cff8f492268939f6e83d30c61dbdf00a4 /hl | |
parent | 7aedee80e10f32b1dfc3e7342ba85aa42718a3e8 (diff) | |
download | hdf5-524a71ef6779f2789ea50df4eb930b3cbc71c61b.zip hdf5-524a71ef6779f2789ea50df4eb930b3cbc71c61b.tar.gz hdf5-524a71ef6779f2789ea50df4eb930b3cbc71c61b.tar.bz2 |
Add Fortran H5ES module to deploy list (#3342)
Diffstat (limited to 'hl')
-rw-r--r-- | hl/fortran/src/CMakeLists.txt | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt index 705a37a..0aa0f15 100644 --- a/hl/fortran/src/CMakeLists.txt +++ b/hl/fortran/src/CMakeLists.txt @@ -235,16 +235,19 @@ endif () # Add file(s) to CMake Install #----------------------------------------------------------------------------- +set (mod_export_files + h5ds.mod + h5tb.mod + h5tb_const.mod + h5lt.mod + h5lt_const.mod + h5im.mod +) if (BUILD_STATIC_LIBS) - set (mod_files - ${MOD_BUILD_DIR}/h5ds.mod - ${MOD_BUILD_DIR}/h5tb.mod - ${MOD_BUILD_DIR}/h5tb_const.mod - ${MOD_BUILD_DIR}/h5lt.mod - ${MOD_BUILD_DIR}/h5lt_const.mod - ${MOD_BUILD_DIR}/h5im.mod - ) + foreach (mod_file ${mod_export_files}) + set (mod_files ${mod_files} ${MOD_BUILD_DIR}/${mod_file}) + endforeach () install ( FILES ${mod_files} @@ -265,14 +268,9 @@ if (BUILD_STATIC_LIBS) endif () endif () if (BUILD_SHARED_LIBS) - set (modsh_files - ${MODSH_BUILD_DIR}/h5ds.mod - ${MODSH_BUILD_DIR}/h5tb.mod - ${MODSH_BUILD_DIR}/h5tb_const.mod - ${MODSH_BUILD_DIR}/h5lt.mod - ${MODSH_BUILD_DIR}/h5lt_const.mod - ${MODSH_BUILD_DIR}/h5im.mod - ) + foreach (mod_file ${mod_export_files}) + set (modsh_files ${modsh_files} ${MODSH_BUILD_DIR}/${mod_file}) + endforeach () install ( FILES ${modsh_files} |