Skip to content

Commit

Permalink
OInly enable bigobj for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaes committed Feb 8, 2024
1 parent e4b7ddf commit 2db62f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 2db62f2

Please sign in to comment.