diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-08-30 21:38:50 +0300 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-09-05 12:26:15 +0200 |
commit | 679d66f36d0034978211e7cba00392b24e8576df (patch) | |
tree | ca25c290776b655e649f1728cc0fed9bcde7fcd2 /platform/android/config.cmake | |
parent | 0e95e8f6b241ee8b30635a986f2c503f21997dd7 (diff) | |
download | qtlocation-mapboxgl-679d66f36d0034978211e7cba00392b24e8576df.tar.gz |
[build] use vendored SQLite for LTO benefits + custom compile flags
Diffstat (limited to 'platform/android/config.cmake')
-rw-r--r-- | platform/android/config.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/config.cmake b/platform/android/config.cmake index 714d566bd8..f0c3324cc4 100644 --- a/platform/android/config.cmake +++ b/platform/android/config.cmake @@ -1,6 +1,7 @@ set(USE_GLES2 ON) include(cmake/nunicode.cmake) +include(cmake/sqlite.cmake) # Build thin archives. set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> cruT <TARGET> <LINK_FLAGS> <OBJECTS>") @@ -66,10 +67,10 @@ macro(mbgl_filesource) # Modify platform/android/filesource-files.txt to change the source files for this target. target_sources_from_file(mbgl-filesource PRIVATE platform/android/filesource-files.txt) - target_add_mason_package(mbgl-filesource PUBLIC sqlite) target_add_mason_package(mbgl-filesource PUBLIC jni.hpp) target_link_libraries(mbgl-filesource + PUBLIC sqlite PUBLIC -llog PUBLIC -landroid PUBLIC -lstdc++ |