forked from organicmaps/organicmaps-tmp
Fix OSRM build on macOS
This commit is contained in:
parent
fc814daaf9
commit
79c9fa05bb
1 changed files with 4 additions and 0 deletions
|
@ -237,6 +237,10 @@ set(OMIM_LIBRARIES
|
|||
"${OMIM_BUILD_PATH}/libbase.a"
|
||||
"${OMIM_BUILD_PATH}/libjansson.a"
|
||||
)
|
||||
if(APPLE)
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -dead_strip")
|
||||
endif()
|
||||
|
||||
|
||||
target_link_libraries(OSRM ${Boost_LIBRARIES})
|
||||
target_link_libraries(osrm-extract ${Boost_LIBRARIES})
|
||||
|
|
Loading…
Add table
Reference in a new issue