summaryrefslogtreecommitdiffstats
path: root/CMake/AddDependencies.cmake
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-01-29 03:00:27 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-02-11 02:24:50 +0100
commit2a6d4ffcd84c2677a54f7a981a157e0782665524 (patch)
treeb3b94bacb516063f12238ccae5e006998bf70b8e /CMake/AddDependencies.cmake
parentUpdate libevent, mbedtls (diff)
downloadcuberite-2a6d4ffcd84c2677a54f7a981a157e0782665524.tar
cuberite-2a6d4ffcd84c2677a54f7a981a157e0782665524.tar.gz
cuberite-2a6d4ffcd84c2677a54f7a981a157e0782665524.tar.bz2
cuberite-2a6d4ffcd84c2677a54f7a981a157e0782665524.tar.lz
cuberite-2a6d4ffcd84c2677a54f7a981a157e0782665524.tar.xz
cuberite-2a6d4ffcd84c2677a54f7a981a157e0782665524.tar.zst
cuberite-2a6d4ffcd84c2677a54f7a981a157e0782665524.zip
Diffstat (limited to 'CMake/AddDependencies.cmake')
-rw-r--r--CMake/AddDependencies.cmake11
1 files changed, 5 insertions, 6 deletions
diff --git a/CMake/AddDependencies.cmake b/CMake/AddDependencies.cmake
index 9f73df3c7..a7539c593 100644
--- a/CMake/AddDependencies.cmake
+++ b/CMake/AddDependencies.cmake
@@ -1,13 +1,12 @@
function(build_dependencies)
- # Set options for SQLiteCpp, disable all their tests and lints:
- set(SQLITECPP_BUILD_EXAMPLES OFF CACHE BOOL "Build examples.")
- set(SQLITECPP_BUILD_TESTS OFF CACHE BOOL "Build and run tests.")
- set(SQLITECPP_INTERNAL_SQLITE ON CACHE BOOL "Add the internal SQLite3 source to the project.")
+ # Set options for SQLiteCpp, disable all their lints and other features we don't need:
+ set(SQLITE_ENABLE_COLUMN_METADATA OFF CACHE BOOL "Enable Column::getColumnOriginName(). Require support from sqlite3 library.")
+ set(SQLITE_ENABLE_JSON1 OFF CACHE BOOL "Enable JSON1 extension when building internal sqlite3 library.")
+ set(SQLITECPP_INCLUDE_SCRIPT OFF CACHE BOOL "Include config & script files.")
set(SQLITECPP_RUN_CPPCHECK OFF CACHE BOOL "Run cppcheck C++ static analysis tool.")
set(SQLITECPP_RUN_CPPLINT OFF CACHE BOOL "Run cpplint.py tool for Google C++ StyleGuide.")
- set(SQLITECPP_RUN_DOXYGEN OFF CACHE BOOL "Run Doxygen C++ documentation tool.")
set(SQLITECPP_USE_STACK_PROTECTION OFF CACHE BOOL "USE Stack Protection hardening.")
- set(SQLITE_ENABLE_COLUMN_METADATA OFF CACHE BOOL "Enable Column::getColumnOriginName(). Require support from sqlite3 library.")
+ set(SQLITECPP_USE_STATIC_RUNTIME OFF CACHE BOOL "Use MSVC static runtime (default for internal googletest).")
# Set options for LibEvent, disable all their tests and benchmarks:
set(EVENT__DISABLE_OPENSSL YES CACHE BOOL "Disable OpenSSL in LibEvent")