summaryrefslogtreecommitdiff
path: root/platform/ios/config.cmake
diff options
context:
space:
mode:
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")