Skip to content

Commit 8f2b816

Browse files
committed
Compile test suite with /bigobj under MSVC
1 parent 7e7ae2f commit 8f2b816

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ macro(configure_tests target)
129129
)
130130
endif()
131131

132+
if (MSVC)
133+
# We've become too bloated for that poor compiler :(
134+
target_compile_options(${target} PRIVATE /bigobj)
135+
endif()
136+
132137
if (CPPSORT_ENABLE_COVERAGE)
133138
add_coverage(${target})
134139
endif()

0 commit comments

Comments
 (0)