summaryrefslogtreecommitdiff
path: root/platform/ios/config.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-09-29 15:32:48 +0200
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-29 10:17:47 -0700
commitcc78b74098e02311cc646fe5b82c13641ff705fa (patch)
treeaf0219d5611f0984bf3b244a336fbc6074a44cb4 /platform/ios/config.cmake
parent15aece8a30dcc1f1f97e28180edda46d05641a2d (diff)
downloadqtlocation-mapboxgl-cc78b74098e02311cc646fe5b82c13641ff705fa.tar.gz
[core] remove dependence on gl.h types
Diffstat (limited to 'platform/ios/config.cmake')
-rw-r--r--platform/ios/config.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/ios/config.cmake b/platform/ios/config.cmake
index eb05678f6f..6d99512258 100644
--- a/platform/ios/config.cmake
+++ b/platform/ios/config.cmake
@@ -1,3 +1,5 @@
+add_definitions(-DMBGL_USE_GLES2=1)
+
macro(mbgl_platform_core)
set_xcode_property(mbgl-core IPHONEOS_DEPLOYMENT_TARGET "8.0")
set_xcode_property(mbgl-core ENABLE_BITCODE "YES")