diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-07-20 14:04:28 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-07-20 14:04:28 (GMT) |
commit | 31b28af54d4b0557f846531283ab6580ad5c0e8a (patch) | |
tree | 495ec27d5cb83ed52e20def19e7b5513cd5c4ee7 /hl | |
parent | 146e98114669c616938ec50d3e1bcd6f6dc37c55 (diff) | |
download | hdf5-31b28af54d4b0557f846531283ab6580ad5c0e8a.zip hdf5-31b28af54d4b0557f846531283ab6580ad5c0e8a.tar.gz hdf5-31b28af54d4b0557f846531283ab6580ad5c0e8a.tar.bz2 |
Merge from 1.10-1.12-dev - LT parse needs update
Diffstat (limited to 'hl')
-rw-r--r-- | hl/fortran/src/CMakeLists.txt | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt index 28cce63..301c0a1 100644 --- a/hl/fortran/src/CMakeLists.txt +++ b/hl/fortran/src/CMakeLists.txt @@ -143,7 +143,6 @@ if (NOT ONLY_SHARED_LIBS) ${MOD_BUILD_DIR}/h5lt.mod ${MOD_BUILD_DIR}/h5im.mod ) - install ( FILES ${mod_files} @@ -152,6 +151,16 @@ if (NOT ONLY_SHARED_LIBS) COMPONENT fortheaders ) + if (HDF5_INSTALL_MOD_FORTRAN MATCHES "STATIC") + install ( + FILES + ${mod_files} + DESTINATION + ${HDF5_INSTALL_INCLUDE_DIR} + COMPONENT + fortheaders + ) + endif () endif () if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) set (modsh_files @@ -168,6 +177,16 @@ if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) COMPONENT fortheaders ) + if (HDF5_INSTALL_MOD_FORTRAN MATCHES "SHARED") + install ( + FILES + ${modsh_files} + DESTINATION + ${HDF5_INSTALL_INCLUDE_DIR} + COMPONENT + fortheaders + ) + endif () endif () #----------------------------------------------------------------------------- |