yuzu/externals/vcpkg/ports/highfive/fix-error-C1128.patch

16 lines
514 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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
# -----------------------------------