Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-03-24 13:55:04 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:45:06 +0300
commit9ec59f5968f0758938ca90a6a984393d10c978b8 (patch)
tree02c0fdd895b57535b7d97d41ccebbb9163abcd91 /3party/osrm
parentef44d75c14d003df2131d99b01a4f0fe13cf6ba3 (diff)
osrm new cmake build fix (backport from osrm upstream)
Diffstat (limited to '3party/osrm')
-rw-r--r--3party/osrm/osrm-backend/CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/3party/osrm/osrm-backend/CMakeLists.txt b/3party/osrm/osrm-backend/CMakeLists.txt
index 4b25b669d0..0e7b04a733 100644
--- a/3party/osrm/osrm-backend/CMakeLists.txt
+++ b/3party/osrm/osrm-backend/CMakeLists.txt
@@ -34,16 +34,12 @@ OPTION(BUILD_TOOLS "Build OSRM tools" OFF)
include_directories(${CMAKE_SOURCE_DIR}/Include/)
-add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/Util/FingerPrint.cpp FingerPrint.cpp.alwaysbuild
- COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR=${CMAKE_SOURCE_DIR}
+add_custom_target(FingerPrintConfigure ALL
+ ${CMAKE_COMMAND} -DSOURCE_DIR=${CMAKE_SOURCE_DIR}
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FingerPrint-Config.cmake
- DEPENDS
- ${CMAKE_SOURCE_DIR}/Util/FingerPrint.cpp.in
COMMENT "Configuring FingerPrint.cpp"
VERBATIM)
-add_custom_target(FingerPrintConfigure DEPENDS ${CMAKE_SOURCE_DIR}/Util/FingerPrint.cpp)
-
set(BOOST_COMPONENTS date_time filesystem iostreams program_options regex system thread)
configure_file(