summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-07-09 18:03:58 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-07-09 18:03:58 (GMT)
commit07a52ecb2ffa1d8d32f06db23470833899db3deb (patch)
tree9907361e0bcf965328735951ebb622399c6fb107 /config/cmake
parent4b122440910911a51e8440d37db27960476d4d11 (diff)
downloadhdf5-07a52ecb2ffa1d8d32f06db23470833899db3deb.zip
hdf5-07a52ecb2ffa1d8d32f06db23470833899db3deb.tar.gz
hdf5-07a52ecb2ffa1d8d32f06db23470833899db3deb.tar.bz2
HDFFV-11116 Add option for install location of Fortran MOD files
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/cacheinit.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/cmake/cacheinit.cmake b/config/cmake/cacheinit.cmake
index 4846997..64e8dcc 100644
--- a/config/cmake/cacheinit.cmake
+++ b/config/cmake/cacheinit.cmake
@@ -23,6 +23,9 @@ set (HDF_PACKAGE_NAMESPACE "hdf5::" CACHE STRING "Name for HDF package namespace
set (HDF5_BUILD_FORTRAN ON CACHE BOOL "Build FORTRAN support" FORCE)
+set (HDF5_INSTALL_MOD_FORTRAN "NO" CACHE STRING "Copy FORTRAN mod files to include directory (NO SHARED STATIC)" FORCE)
+set_property (CACHE HDF5_INSTALL_MOD_FORTRAN PROPERTY STRINGS NO SHARED STATIC)
+
set (HDF5_BUILD_GENERATORS ON CACHE BOOL "Build Test Generators" FORCE)
set (HDF5_ENABLE_Z_LIB_SUPPORT ON CACHE BOOL "Enable Zlib Filters" FORCE)