diff options
author | Callum Prentice <callum@gmail.com> | 2020-09-22 16:52:10 -0700 |
---|---|---|
committer | Callum Prentice <callum@gmail.com> | 2020-09-22 16:52:10 -0700 |
commit | 5858bb87c7d9d222e61c7c4f7f0f1dc8ba02c77f (patch) | |
tree | e1292b9fe88ff7d6b555122751c4b1c76c4c5d03 /indra/cmake | |
parent | 38faec3b11d27c2f88b89283fe1a3a60d6ec4e42 (diff) |
Add SQLite third package to this viewer and pull in the most recent build (3.33)
Diffstat (limited to 'indra/cmake')
-rw-r--r-- | indra/cmake/SQLite.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/cmake/SQLite.cmake b/indra/cmake/SQLite.cmake new file mode 100644 index 0000000000..3571ca7d1e --- /dev/null +++ b/indra/cmake/SQLite.cmake @@ -0,0 +1,11 @@ +# -*- cmake -*- +include(Prebuilt) + +if (USESYSTEMLIBS) + include(FindPkgConfig) + pkg_check_modules(SQLITE REQUIRED sqlite3) +else (USESYSTEMLIBS) + use_prebuilt_binary(sqlite) + set(SQLITE_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/sqlite/) + set(SQLITE_LIBRARIES sqlite) +endif (USESYSTEMLIBS) |