summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-04-27 18:42:48 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-04-27 18:57:31 +0300
commitfde981a4fc2ee5cb041ab05047049b3c020d7688 (patch)
treef3a387237a11bba24d710bb3f5fae254463238f4 /scripts
parentdc985afde6d3153bb08464bcffb56ed2de9d189d (diff)
downloadqtlocation-mapboxgl-fde981a4fc2ee5cb041ab05047049b3c020d7688.tar.gz
[build] Move Qt version define to configure.sh
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/main.mk b/scripts/main.mk
index fa4ac8e19e..754d5ad311 100644
--- a/scripts/main.mk
+++ b/scripts/main.mk
@@ -89,9 +89,6 @@ $(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)