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 /fortran/src/CMakeLists.txt | |
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 'fortran/src/CMakeLists.txt')
-rw-r--r-- | fortran/src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt index d04c8a8..1c0de1a 100644 --- a/fortran/src/CMakeLists.txt +++ b/fortran/src/CMakeLists.txt @@ -94,7 +94,7 @@ target_include_directories(H5fortran_detect PRIVATE "${HDF5_BINARY_DIR};${HDF5_F90_BINARY_DIR}" ) -#if (BUILD_SHARED_LIBS) +#if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) # target_compile_definitions(H5fortran_detect # PRIVATE # $<$<STREQUAL:"x${CMAKE_Fortran_SIMULATE_ID}","xMSVC">:/MT> |