summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-08-03 11:22:01 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-05 11:42:22 +0200
commit131cd8a547dcffc81c39568efcd70aa190f16062 (patch)
tree0351e33ef70350c4da8fbdb17d9587877990cd27 /Makefile
parent94ceeb739dcd71c826a18d53a739da326a81756a (diff)
downloadqtlocation-mapboxgl-131cd8a547dcffc81c39568efcd70aa190f16062.tar.gz
[build] Fix Qt4 build on OS X
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d58f14ea11..bd8110ba4d 100644
--- a/Makefile
+++ b/Makefile
@@ -328,7 +328,12 @@ endif
#### Qt targets #####################################################
+ifeq ($(WITH_QT_4), 1)
+QT_ROOT_PATH = build/qt4-$(BUILD_PLATFORM)-$(BUILD_PLATFORM_VERSION)
+else
QT_ROOT_PATH = build/qt-$(BUILD_PLATFORM)-$(BUILD_PLATFORM_VERSION)
+endif
+
export QT_OUTPUT_PATH = $(QT_ROOT_PATH)/$(BUILDTYPE)
QT_BUILD = $(QT_OUTPUT_PATH)/build.ninja