From 70f257b62fb7a86d6bf3880775da88ad438dc87d Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 1 Jul 2014 15:04:26 +0200 Subject: [PATCH] add BUILD_TOOLS flag, retire WITH_TOOLS soon --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc202c849..f9d22dc0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,7 @@ if (WIN32 AND MSVC_VERSION LESS 1800) endif() OPTION(WITH_TOOLS "Build ORSM tools" OFF) +OPTION(BUILD_TOOLS "Build ORSM tools" OFF) include_directories(${CMAKE_SOURCE_DIR}/Include/) @@ -253,7 +254,7 @@ include_directories(${ZLIB_INCLUDE_DIRS}) target_link_libraries(osrm-extract ${ZLIB_LIBRARY}) target_link_libraries(osrm-routed ${ZLIB_LIBRARY}) -if(WITH_TOOLS) +if(WITH_TOOLS OR BUILD_TOOLS) message(STATUS "Activating OSRM internal tools") find_package(GDAL) if(GDAL_FOUND)