diff options
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++ |