From b7f793ec7ea81293da8b967b05bc4840f4461da0 Mon Sep 17 00:00:00 2001 From: Artyom Polkovnikov Date: Tue, 2 Dec 2014 12:45:11 +0300 Subject: [PATCH] Add drape dependencies conditionally, only if drape is in config. --- map/map_tests/map_tests.pro | 4 ++++ map_server/map_server.pro | 4 ++++ qt/qt.pro | 3 +++ 3 files changed, 11 insertions(+) diff --git a/map/map_tests/map_tests.pro b/map/map_tests/map_tests.pro index a006d56c3d..0ab1a26ff2 100644 --- a/map/map_tests/map_tests.pro +++ b/map/map_tests/map_tests.pro @@ -9,6 +9,10 @@ ROOT_DIR = ../.. DEPENDENCIES = map gui routing search storage graphics indexer platform anim geometry coding base \ freetype fribidi expat protobuf tomcrypt jansson zlib osrm +drape { + DEPENDENCIES *= drape_frontend drape +} + include($$ROOT_DIR/common.pri) QT *= core opengl diff --git a/map_server/map_server.pro b/map_server/map_server.pro index de675a269d..51efaca513 100644 --- a/map_server/map_server.pro +++ b/map_server/map_server.pro @@ -8,6 +8,10 @@ DEFINES += QJSONRPC_BUILD DEPENDENCIES = map gui routing search storage indexer graphics platform anim geometry coding base \ osrm bzip2 freetype expat fribidi tomcrypt jansson protobuf qjsonrpc gflags zlib +drape { + DEPENDENCIES *= drape_frontend drape +} + ROOT_DIR = .. include($$ROOT_DIR/common.pri) diff --git a/qt/qt.pro b/qt/qt.pro index acdc382740..19d97f7d1d 100644 --- a/qt/qt.pro +++ b/qt/qt.pro @@ -3,6 +3,9 @@ ROOT_DIR = .. DEPENDENCIES = map gui routing search storage indexer graphics platform anim geometry coding base \ bzip2 freetype expat fribidi tomcrypt jansson protobuf zlib osrm +drape { + DEPENDENCIES *= drape_frontend drape +} include($$ROOT_DIR/common.pri)