mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-18 16:32:32 +02:00
tests: do not link to the dynamic Boost Test library on Windows
This commit is contained in:
parent
e190fc54fb
commit
ebc74559e8
@ -62,8 +62,14 @@ add_executable(rwtests
|
||||
target_compile_definitions(rwtests
|
||||
PRIVATE
|
||||
"RW_TEST_WITH_DATA=$<NOT:$<BOOL:${TESTS_NODATA}>>"
|
||||
)
|
||||
|
||||
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_compile_definitions(rwtests
|
||||
PRIVATE
|
||||
"BOOST_TEST_DYN_LINK"
|
||||
)
|
||||
endif()
|
||||
|
||||
target_include_directories(rwtests
|
||||
SYSTEM
|
||||
|
Loading…
Reference in New Issue
Block a user