Skip to content

Commit 98dfc21

Browse files
committed
install tools if activated
1 parent f6f0f1f commit 98dfc21

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ if(WITH_TOOLS OR BUILD_TOOLS)
264264
target_link_libraries(
265265
osrm-components
266266
${GDAL_LIBRARIES} ${Boost_LIBRARIES} FINGERPRINT GITDESCRIPTION COORDLIB)
267+
install(TARGETS osrm-components DESTINATION bin)
267268
else()
268269
message(FATAL_ERROR "libgdal and/or development headers not found")
269270
endif()
@@ -277,6 +278,10 @@ if(WITH_TOOLS OR BUILD_TOOLS)
277278
if(UNIX AND NOT APPLE)
278279
target_link_libraries(osrm-unlock-all rt)
279280
endif()
281+
282+
install(TARGETS osrm-cli DESTINATION bin)
283+
install(TARGETS osrm-io-benchmark DESTINATION bin)
284+
install(TARGETS osrm-unlock-all DESTINATION bin)
280285
endif()
281286

282287
file(GLOB InstallGlob Include/osrm/*.h Library/OSRM.h)

0 commit comments

Comments
 (0)