install tools if activated
This commit is contained in:
parent
f6f0f1fb72
commit
98dfc218d9
@ -264,6 +264,7 @@ if(WITH_TOOLS OR BUILD_TOOLS)
|
|||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
osrm-components
|
osrm-components
|
||||||
${GDAL_LIBRARIES} ${Boost_LIBRARIES} FINGERPRINT GITDESCRIPTION COORDLIB)
|
${GDAL_LIBRARIES} ${Boost_LIBRARIES} FINGERPRINT GITDESCRIPTION COORDLIB)
|
||||||
|
install(TARGETS osrm-components DESTINATION bin)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "libgdal and/or development headers not found")
|
message(FATAL_ERROR "libgdal and/or development headers not found")
|
||||||
endif()
|
endif()
|
||||||
@ -277,6 +278,10 @@ if(WITH_TOOLS OR BUILD_TOOLS)
|
|||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
target_link_libraries(osrm-unlock-all rt)
|
target_link_libraries(osrm-unlock-all rt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
install(TARGETS osrm-cli DESTINATION bin)
|
||||||
|
install(TARGETS osrm-io-benchmark DESTINATION bin)
|
||||||
|
install(TARGETS osrm-unlock-all DESTINATION bin)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(GLOB InstallGlob Include/osrm/*.h Library/OSRM.h)
|
file(GLOB InstallGlob Include/osrm/*.h Library/OSRM.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user