summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-01-21 13:10:05 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-01-21 17:00:31 +0100
commit98cc7c6c5f7c9e4d3e959c92520cadf8264ed19f (patch)
tree5849b3339b9d448ab6aab2ecdf49de986ce7c1ab
parent4ddce827394f4496c5fcdfca76a250b87dca4053 (diff)
downloadqtlocation-mapboxgl-98cc7c6c5f7c9e4d3e959c92520cadf8264ed19f.tar.gz
[build] upgrade minimum CMake version
-rw-r--r--CMakeLists.txt2
-rw-r--r--platform/android/MapboxGLAndroidSDK/build.gradle1
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0b1fec60b..bf7cc6465e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.4)
+cmake_minimum_required(VERSION 3.9)
project(mbgl LANGUAGES CXX C)
set(CMAKE_CONFIGURATION_TYPES Debug Release RelWithDebInfo Sanitize)
diff --git a/platform/android/MapboxGLAndroidSDK/build.gradle b/platform/android/MapboxGLAndroidSDK/build.gradle
index 724242e35f..e38d61923f 100644
--- a/platform/android/MapboxGLAndroidSDK/build.gradle
+++ b/platform/android/MapboxGLAndroidSDK/build.gradle
@@ -55,6 +55,7 @@ android {
externalNativeBuild {
cmake {
path "../../../CMakeLists.txt"
+ version "3.10.2"
}
}
}