summaryrefslogtreecommitdiff
path: root/platform/android/config.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-06-21 14:44:00 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-09-11 11:43:54 +0200
commit30e570aae7d2ba5522feafb962b334ef3f35459e (patch)
tree5a8f787197772ed302e1fbf45839d973feb80838 /platform/android/config.cmake
parent536652ca201ce59190ae5c41d1202372d28d6d6d (diff)
downloadqtlocation-mapboxgl-30e570aae7d2ba5522feafb962b334ef3f35459e.tar.gz
[core] add polyfill for codecvt for STLs that don't have it yet
Diffstat (limited to 'platform/android/config.cmake')
-rw-r--r--platform/android/config.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/config.cmake b/platform/android/config.cmake
index d6be05095b..004912ba1a 100644
--- a/platform/android/config.cmake
+++ b/platform/android/config.cmake
@@ -71,6 +71,7 @@ macro(mbgl_filesource)
target_add_mason_package(mbgl-filesource PUBLIC jni.hpp)
target_link_libraries(mbgl-filesource
+ PRIVATE codecvt
PUBLIC sqlite
PUBLIC -llog
PUBLIC -landroid
@@ -86,6 +87,7 @@ add_library(mapbox-gl SHARED
)
target_link_libraries(mapbox-gl
+ PRIVATE codecvt
PRIVATE mbgl-core
PRIVATE mbgl-filesource
)
@@ -106,6 +108,7 @@ macro(mbgl_platform_test)
)
target_link_libraries(mbgl-test
+ PRIVATE codecvt
PRIVATE mbgl-core
PRIVATE mbgl-filesource
)