From 06f8a975c03b72cbc5b4125f2cd6d6136c37159a Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 20 Oct 2014 13:04:44 +0200 Subject: [PATCH] prevent double compile of dependent compile units --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e3298190..10d6fedd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,7 @@ add_executable(osrm-prepare ${PrepareSources} $ $ $) add_library(GITDESCRIPTION OBJECT Util/GitDescription.cpp) +add_library(OSRM ${OSRMSources} $ $ $) add_dependencies(FINGERPRINT FingerPrintConfigure) add_executable(osrm-routed routed.cpp ${ServerGlob} $)