Skip to content

Commit 6ec17cf

Browse files
wip
1 parent cbed6bd commit 6ec17cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

unit_tests/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ add_executable(util-tests
126126
${UtilTestsSources}
127127
$<TARGET_OBJECTS:UTIL> $<TARGET_OBJECTS:MICROTAR>)
128128

129+
if(NOT WIN32 AND NOT Boost_USE_STATIC_LIBS AND NOT ENABLE_CONAN)
130+
add_definitions(-DBOOST_TEST_DYN_LINK)
131+
endif()
132+
129133
set(UPDATER_TEST_DATA_DIR "${CMAKE_SOURCE_DIR}/unit_tests/updater")
130134
set(TEST_DATA_DIR "${CMAKE_SOURCE_DIR}/test/data")
131135
add_dependencies(library-tests osrm-extract osrm-contract osrm-partition)

0 commit comments

Comments
 (0)