File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ function(add_iceberg_test test_name)
4949 target_link_libraries (${test_name} PRIVATE iceberg_static GTest::gmock_main )
5050 endif ()
5151
52+ if (MSVC_TOOLCHAIN)
53+ target_compile_options (${test_name} PRIVATE /bigobj )
54+ endif ()
55+
5256 add_test (NAME ${test_name} COMMAND ${test_name} )
5357endfunction ()
5458
@@ -186,6 +190,9 @@ if(ICEBERG_BUILD_REST)
186190 target_include_directories (${test_name} PRIVATE "${CMAKE_BINARY_DIR} /iceberg/test/" )
187191 target_sources (${test_name} PRIVATE ${ARG_SOURCES} )
188192 target_link_libraries (${test_name} PRIVATE GTest::gmock_main iceberg_rest_static )
193+ if (MSVC_TOOLCHAIN)
194+ target_compile_options (${test_name} PRIVATE /bigobj )
195+ endif ()
189196 add_test (NAME ${test_name} COMMAND ${test_name} )
190197 endfunction ()
191198
You can’t perform that action at this time.
0 commit comments