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,9 +62,15 @@ add_executable(rwtests
|
|||||||
target_compile_definitions(rwtests
|
target_compile_definitions(rwtests
|
||||||
PRIVATE
|
PRIVATE
|
||||||
"RW_TEST_WITH_DATA=$<NOT:$<BOOL:${TESTS_NODATA}>>"
|
"RW_TEST_WITH_DATA=$<NOT:$<BOOL:${TESTS_NODATA}>>"
|
||||||
"BOOST_TEST_DYN_LINK"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
|
target_compile_definitions(rwtests
|
||||||
|
PRIVATE
|
||||||
|
"BOOST_TEST_DYN_LINK"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_include_directories(rwtests
|
target_include_directories(rwtests
|
||||||
SYSTEM
|
SYSTEM
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
Loading…
Reference in New Issue
Block a user