Require CMake 3.10 and use CMAKE_CXX_STANDARD

Removes the need to add -std= flags manually. CMake 3.10 is available
in Ubuntu 18.04, which is the oldest LTS version we support.
This commit is contained in:
Léo Lam
2019-05-04 23:54:25 +02:00
parent ab9ece9bca
commit 9133e8f1be
3 changed files with 5 additions and 16 deletions

View File

@ -60,6 +60,7 @@ android {
externalNativeBuild {
cmake {
path "../../../CMakeLists.txt"
version "3.10.2"
}
}