From 4f46a370bb5fc115d3a412725138ef126ddeb043 Mon Sep 17 00:00:00 2001 From: Martin Zink Date: Thu, 24 Aug 2023 15:26:06 +0200 Subject: [PATCH] add /bigobj to WIN32 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 13a2b9924df..a9f2c282bde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,7 +108,7 @@ endif() # Enable usage of the VERSION specifier if (WIN32) add_compile_definitions(WIN32_LEAN_AND_MEAN _CRT_SECURE_NO_WARNINGS NOMINMAX) - add_compile_options(/W3 /utf-8) + add_compile_options(/W3 /utf-8 /bigobj) endif() if (NOT PORTABLE)