mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 19:10:47 +08:00
16 lines
514 B
Diff
16 lines
514 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 9d42b6e..e6d9f18 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -41,6 +41,10 @@ option(HIGHFIVE_BUILD_DOCS "Enable documentation building" ON)
|
||
|
option(HIGHFIVE_USE_INSTALL_DEPS "End applications by default use detected dependencies here" OFF)
|
||
|
mark_as_advanced(HIGHFIVE_USE_INSTALL_DEPS)
|
||
|
|
||
|
+# Allow big object
|
||
|
+if(MSVC)
|
||
|
+ add_compile_options(/bigobj)
|
||
|
+endif()
|
||
|
|
||
|
# Check compiler cxx_std requirements
|
||
|
# -----------------------------------
|