diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-12 15:36:39 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-12 15:36:39 (GMT) |
commit | b087e6d3a87481173f647070c721d048775c0c93 (patch) | |
tree | 9498c6744cf5b36eb96a53f65957c3803dbc82dd | |
parent | 5314213f1ec03b31812f64d5d1282acc02921084 (diff) | |
parent | 6333fb8711adc3af930e186dad3b8b756e41a863 (diff) | |
download | hdf5-b087e6d3a87481173f647070c721d048775c0c93.zip hdf5-b087e6d3a87481173f647070c721d048775c0c93.tar.gz hdf5-b087e6d3a87481173f647070c721d048775c0c93.tar.bz2 |
Merge pull request #1800 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop
* commit '6333fb8711adc3af930e186dad3b8b756e41a863':
Fix packaging issue
-rw-r--r-- | fortran/src/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt index 774ed8c..315dc85 100644 --- a/fortran/src/CMakeLists.txt +++ b/fortran/src/CMakeLists.txt @@ -356,8 +356,13 @@ install ( ${HDF5_F90_SRC_SOURCE_DIR}/H5f90.h ${HDF5_F90_SRC_SOURCE_DIR}/H5f90i.h ${HDF5_F90_SRC_SOURCE_DIR}/H5f90proto.h - ${HDF5_F90_BINARY_DIR}/static/H5f90i_gen.h - ${HDF5_F90_BINARY_DIR}/static/H5fortran_types.F90 + if (NOT ONLY_SHARED_LIBS) + ${HDF5_F90_BINARY_DIR}/static/H5f90i_gen.h + ${HDF5_F90_BINARY_DIR}/static/H5fortran_types.F90 + else () + ${HDF5_F90_BINARY_DIR}/shared/H5f90i_gen.h + ${HDF5_F90_BINARY_DIR}/shared/H5fortran_types.F90 + endif () DESTINATION ${HDF5_INSTALL_INCLUDE_DIR} COMPONENT |