From 2db62f222f8fa316ccbc7bc26cf4afc52df08562 Mon Sep 17 00:00:00 2001 From: mkaes Date: Thu, 8 Feb 2024 18:36:58 +0100 Subject: [PATCH] OInly enable bigobj for msvc --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index aebb3dee8..c8397b4ee 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -14,7 +14,7 @@ colormsg(_HIBLUE_ "Configuring SOCI tests:") # This works around a problem when building in C++11 mode with clang (see #984). add_definitions(-DCATCH_CONFIG_CPP11_NO_SHUFFLE) -if(NOT MSVC) +if(MSVC) add_compile_options(/bigobj) endif()