diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-18 21:27:06 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-18 21:27:06 (GMT) |
commit | 367f7ed0e338ccf1a698ab0af4bb7ea702fd2d60 (patch) | |
tree | 5b0d32006256cbd858ccbdb6cd90182ed04ff7f6 /c++/src | |
parent | 4d3f52ac97ea922cefda857c971fbd3608d8994c (diff) | |
download | hdf5-367f7ed0e338ccf1a698ab0af4bb7ea702fd2d60.zip hdf5-367f7ed0e338ccf1a698ab0af4bb7ea702fd2d60.tar.gz hdf5-367f7ed0e338ccf1a698ab0af4bb7ea702fd2d60.tar.bz2 |
HDFFV-10845 make flags private
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 bb244e8..2a92ed2 100644 --- a/c++/src/CMakeLists.txt +++ b/c++/src/CMakeLists.txt @@ -117,7 +117,7 @@ if (BUILD_SHARED_LIBS) ) if (MINGW) target_link_options (${HDF5_CPP_LIBSH_TARGET} - PUBLIC -static-libgcc -static-libstdc++ + PRIVATE -static-libgcc -static-libstdc++ ) endif () set_global_variable (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_CPP_LIBSH_TARGET}") |