From 98dfc218d9c0bd3c5bb36a7d68386905a3ef9b34 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Fri, 11 Jul 2014 15:25:26 +0200 Subject: [PATCH] install tools if activated --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20f3627e9da..36556911c27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -264,6 +264,7 @@ if(WITH_TOOLS OR BUILD_TOOLS) target_link_libraries( osrm-components ${GDAL_LIBRARIES} ${Boost_LIBRARIES} FINGERPRINT GITDESCRIPTION COORDLIB) + install(TARGETS osrm-components DESTINATION bin) else() message(FATAL_ERROR "libgdal and/or development headers not found") endif() @@ -277,6 +278,10 @@ if(WITH_TOOLS OR BUILD_TOOLS) if(UNIX AND NOT APPLE) target_link_libraries(osrm-unlock-all rt) endif() + + install(TARGETS osrm-cli DESTINATION bin) + install(TARGETS osrm-io-benchmark DESTINATION bin) + install(TARGETS osrm-unlock-all DESTINATION bin) endif() file(GLOB InstallGlob Include/osrm/*.h Library/OSRM.h)