Skip to content

Commit 846505c

Browse files
committed
Merge pull request #1051 from TheMarex/linker-fix
Fix linking for linux
2 parents 964118d + c43b67e commit 846505c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ target_link_libraries(osrm-datastore ${Boost_LIBRARIES} FINGERPRINT GITDESCRIPTI
168168

169169
find_package(Threads REQUIRED)
170170
target_link_libraries(osrm-extract ${CMAKE_THREAD_LIBS_INIT})
171+
target_link_libraries(osrm-datastore ${CMAKE_THREAD_LIBS_INIT})
172+
target_link_libraries(OSRM ${CMAKE_THREAD_LIBS_INIT})
171173

172174
find_package(TBB REQUIRED)
173175
target_link_libraries(osrm-extract ${TBB_LIBRARIES})

0 commit comments

Comments
 (0)