vcpkg/ports/highfive/fix-error-C1128.patch
JonLiu1993 5420dab932
[highfive] Add eigen3 feature option (#21897)
* [highfive] Add eigen3 feature option

* update version

* update version

* dd double quotes to the paths

* update version

* apply review suggestion

* update version

* update review suggesstion

* update version

* update patches

* update version

* update patches

* update version
2021-12-10 14:06:16 -08:00

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
# -----------------------------------