From f6db64bea1ce3599b33a8d1a4611ab2552cb35bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Thu, 2 Jun 2022 20:33:05 +0300 Subject: [PATCH] mdbx-cmake: add `/bigobj` for MSVC. --- cmake/compiler.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/compiler.cmake b/cmake/compiler.cmake index ff9eb0dd..738fde33 100644 --- a/cmake/compiler.cmake +++ b/cmake/compiler.cmake @@ -761,7 +761,7 @@ macro(setup_compile_flags) add_compile_flags("CXX" "/Zc:__cplusplus") endif() remove_compile_flag("C;CXX" "/W3") - add_compile_flags("C;CXX" "/W4 /utf-8") + add_compile_flags("C;CXX" "/W4 /utf-8 /bigobj") else() if(CC_HAS_WALL) add_compile_flags("C;CXX" "-Wall")