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/linux | |
parent | 0e95e8f6b241ee8b30635a986f2c503f21997dd7 (diff) | |
download | qtlocation-mapboxgl-679d66f36d0034978211e7cba00392b24e8576df.tar.gz |
[build] use vendored SQLite for LTO benefits + custom compile flags
Diffstat (limited to 'platform/linux')
-rw-r--r-- | platform/linux/config.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux/config.cmake b/platform/linux/config.cmake index b55cedcacb..86280b7068 100644 --- a/platform/linux/config.cmake +++ b/platform/linux/config.cmake @@ -1,4 +1,5 @@ include(cmake/nunicode.cmake) +include(cmake/sqlite.cmake) add_library(mbgl-loop-uv STATIC platform/default/async_task.cpp @@ -107,11 +108,10 @@ macro(mbgl_filesource) PRIVATE platform/default/sqlite3.cpp ) - target_add_mason_package(mbgl-filesource PUBLIC sqlite) - # We're not referencing any cURL symbols since we're dynamically loading it. However, we want to # link the library anyway since we're definitely going to load it on startup anyway. target_link_libraries(mbgl-filesource + PUBLIC sqlite PUBLIC -Wl,--no-as-needed -lcurl -Wl,--as-needed ) endmacro() |