summaryrefslogtreecommitdiffstats
path: root/config/cmake/cacheinit.cmake
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-11-02 13:44:44 (GMT)
committerGitHub <noreply@github.com>2020-11-02 13:44:44 (GMT)
commitdc47bb7084d55993a0a6f3725dcf79d92d7f0e65 (patch)
treeb9dc4be8a9b87d3b21057d63b533e43d47ed643e /config/cmake/cacheinit.cmake
parent3c42c49a02227a4d43504d9da7cf3df5b34f98ee (diff)
parent7259b5eb7ac291f00cc989a44c5fe4964759efaf (diff)
downloadhdf5-dc47bb7084d55993a0a6f3725dcf79d92d7f0e65.zip
hdf5-dc47bb7084d55993a0a6f3725dcf79d92d7f0e65.tar.gz
hdf5-dc47bb7084d55993a0a6f3725dcf79d92d7f0e65.tar.bz2
Merge pull request #69 from xantares/mingw3
CMake: Add an option to opt-out static libgcc
Diffstat (limited to 'config/cmake/cacheinit.cmake')
-rw-r--r--config/cmake/cacheinit.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cmake/cacheinit.cmake b/config/cmake/cacheinit.cmake
index f8ab3a2..71c8b4a 100644
--- a/config/cmake/cacheinit.cmake
+++ b/config/cmake/cacheinit.cmake
@@ -40,6 +40,8 @@ set (HDF5_ENABLE_ALL_WARNINGS ON CACHE BOOL "Enable all warnings" FORCE)
set (HDF_TEST_EXPRESS "2" CACHE STRING "Control testing framework (0-3)" FORCE)
+set (HDF5_MINGW_STATIC_GCC_LIBS ON CACHE BOOL "Statically link libgcc/libstdc++" FORCE)
+
set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO GIT TGZ)" FORCE)
set_property (CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO GIT TGZ)