diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-11-12 16:50:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-11-12 16:50:50 (GMT) |
commit | 14bfa9a99143e9170c5ce2cdfc0c30e40d466dfd (patch) | |
tree | 4ca149140292b31b037aa0bb7f829dcc90846877 /c++/src | |
parent | c768326d6837592040fde08d62b25c86ae0f4acf (diff) | |
download | hdf5-14bfa9a99143e9170c5ce2cdfc0c30e40d466dfd.zip hdf5-14bfa9a99143e9170c5ce2cdfc0c30e40d466dfd.tar.gz hdf5-14bfa9a99143e9170c5ce2cdfc0c30e40d466dfd.tar.bz2 |
Correct TARGET variable and CMake config file location
Diffstat (limited to 'c++/src')
-rw-r--r-- | c++/src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt index 04822cf..de2306e 100644 --- a/c++/src/CMakeLists.txt +++ b/c++/src/CMakeLists.txt @@ -117,7 +117,7 @@ if (BUILD_SHARED_LIBS) target_link_libraries (${HDF5_CPP_LIBSH_TARGET} PUBLIC ${HDF5_LIBSH_TARGET} ) - if (MINGW) + if (MINGW AND HDF5_MINGW_STATIC_GCC_LIBS) target_link_options (${HDF5_CPP_LIBSH_TARGET} PRIVATE -static-libgcc -static-libstdc++ ) |