mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-03 09:47:01 -04:00
build: try adding /bigobj
for test targets
This commit is contained in:
parent
8e4a11e59f
commit
532e86934e
@ -597,6 +597,11 @@ if(WITH_TESTS)
|
||||
target_compile_definitions(${test}
|
||||
PRIVATE TEST_DATA_DIR=\"${CMAKE_SOURCE_DIR}/test\"
|
||||
TOOLS_BIN_DIR=\"${CMAKE_CURRENT_BINARY_DIR}\")
|
||||
|
||||
if(WIN32)
|
||||
target_compile_options(${test} PRIVATE /bigobj)
|
||||
endif()
|
||||
|
||||
list(APPEND TEST_TARGETS ${test})
|
||||
endforeach()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user