diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-11-01 18:37:07 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-11-01 18:37:07 (GMT) |
commit | 02f0ede8a34cbfeb4ae74e1b0c074775ad0515ca (patch) | |
tree | df794c5b89b81addc04637c4f7a044a072ed2281 /hl/fortran/src | |
parent | fed235056602a3e9aec0303b9afe23ef183e2693 (diff) | |
download | hdf5-02f0ede8a34cbfeb4ae74e1b0c074775ad0515ca.zip hdf5-02f0ede8a34cbfeb4ae74e1b0c074775ad0515ca.tar.gz hdf5-02f0ede8a34cbfeb4ae74e1b0c074775ad0515ca.tar.bz2 |
Add missing SKIP_HDF5_FORTRAN_SHARED to all fortran cmake
Diffstat (limited to 'hl/fortran/src')
-rw-r--r-- | hl/fortran/src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt index 8a4b32d..e90253b 100644 --- a/hl/fortran/src/CMakeLists.txt +++ b/hl/fortran/src/CMakeLists.txt @@ -103,7 +103,7 @@ H5_SET_LIB_OPTIONS (${HDF5_HL_F90_LIB_TARGET} ${HDF5_HL_F90_LIB_NAME} STATIC 0) set_global_variable (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_HL_F90_LIB_TARGET}") set (install_targets ${install_targets} ${HDF5_HL_F90_LIB_TARGET}) -if (BUILD_SHARED_LIBS) +if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) add_library (${HDF5_HL_F90_LIBSH_TARGET} SHARED ${HDF5_HL_F90_F_SRCS}) target_include_directories (${HDF5_HL_F90_LIBSH_TARGET} PRIVATE |