summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-12 15:56:45 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-12 15:56:55 (GMT)
commitc04ed97d4c587d6e7feeef6412e31cf38701b6d4 (patch)
tree62966cc7766bb16cb679fdc684470b662eeb04c8 /fortran
parent346fe1a0bcb2da5e3b1de04f24195ce9781e846a (diff)
downloadhdf5-c04ed97d4c587d6e7feeef6412e31cf38701b6d4.zip
hdf5-c04ed97d4c587d6e7feeef6412e31cf38701b6d4.tar.gz
hdf5-c04ed97d4c587d6e7feeef6412e31cf38701b6d4.tar.bz2
Merge from develop, mostly HDFFV-10845
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index bfee43a..82a1eb6 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -355,8 +355,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