diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-04-27 13:12:23 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-04-27 17:36:35 +0300 |
commit | 72bcad210ddc9ad8e2ca8e7e53e134b5d9c06cdf (patch) | |
tree | 5cc14f5ea4aa87e56c1a793f2285df2b1def325e /scripts | |
parent | 205ecff6d7e3b4b89f98c303e5faa807037dc587 (diff) | |
download | qtlocation-mapboxgl-72bcad210ddc9ad8e2ca8e7e53e134b5d9c06cdf.tar.gz |
[Qt] Added QQuickMapboxGL{,Renderer}
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/main.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/main.mk b/scripts/main.mk index 466ffff219..aa1ce2b0c4 100644 --- a/scripts/main.mk +++ b/scripts/main.mk @@ -89,6 +89,9 @@ $(PLATFORM_CONFIG_OUTPUT): .mason configure $(PLATFORM_CONFIG_INPUT) GYP_FLAGS += -I$(PLATFORM_CONFIG_OUTPUT) GYP_FLAGS += -Dcoverage=$(ENABLE_COVERAGE) GYP_FLAGS += -Dcxx_host=$(CXX_HOST) +ifeq ($(PLATFORM),qt) + GYP_FLAGS += -Dqt_version=$(shell qmake -query QT_VERSION | cut -d. -f1) +endif GYP_FLAGS += -Goutput_dir=. GYP_FLAGS += --depth=. GYP_FLAGS += --generator-output=$(PLATFORM_OUTPUT) |