summaryrefslogtreecommitdiff
path: root/platform/android/config.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-10-08 16:09:35 +0300
committerKonstantin Käfer <mail@kkaefer.com>2019-01-21 17:00:31 +0100
commitd53c7860cd663904e7ef529dfe527b16fd514f56 (patch)
treee3e06015abc044fad57fe2722e1d87778089840a /platform/android/config.cmake
parentd0e7326e5d42dbed0792c535fd4f25b920b057f0 (diff)
downloadqtlocation-mapboxgl-d53c7860cd663904e7ef529dfe527b16fd514f56.tar.gz
[build] use optional polyfill on Android, and upgrade to NDK r19
<experimental/optional> is not available anymore in newer STL versions, e.g. according to libc++'s TS deprecation policy: https://libcxx.llvm.org/TS_deprecation.html
Diffstat (limited to 'platform/android/config.cmake')
-rw-r--r--platform/android/config.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/config.cmake b/platform/android/config.cmake
index d0d2c42eb6..50f1449a9e 100644
--- a/platform/android/config.cmake
+++ b/platform/android/config.cmake
@@ -139,6 +139,7 @@ target_include_directories(example-custom-layer
)
target_link_libraries(example-custom-layer
+ PRIVATE optional
PRIVATE -llog
PRIVATE -lGLESv2
)