Skip to content

Commit

Permalink
Merge pull request #1051 from TheMarex/linker-fix
Browse files Browse the repository at this point in the history
Fix linking for linux
  • Loading branch information
DennisOSRM committed Jun 5, 2014
2 parents 964118d + c43b67e commit 846505c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ target_link_libraries(osrm-datastore ${Boost_LIBRARIES} FINGERPRINT GITDESCRIPTI

find_package(Threads REQUIRED)
target_link_libraries(osrm-extract ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(osrm-datastore ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(OSRM ${CMAKE_THREAD_LIBS_INIT})

find_package(TBB REQUIRED)
target_link_libraries(osrm-extract ${TBB_LIBRARIES})
Expand Down

0 comments on commit 846505c

Please sign in to comment.