From 66bf301b9b40ae3a8390420e4b82839803be2a46 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Sun, 10 Sep 2023 20:43:10 +0200 Subject: [PATCH] add message to cmake --- src/librssguard/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/librssguard/CMakeLists.txt b/src/librssguard/CMakeLists.txt index 396ceee04..2814e6a45 100644 --- a/src/librssguard/CMakeLists.txt +++ b/src/librssguard/CMakeLists.txt @@ -528,12 +528,14 @@ if(USE_SYSTEM_SQLITE) else() message(FATAL_ERROR "System SQLite3 not detected. Set USE_SYSTEM_SQLITE=OFF if you want to build with bundled SQLite3.") endif() - else() + message(STATUS "Using bundled SQLite3.") + list(APPEND SOURCES 3rd-party/sqlite/sqlite3.c 3rd-party/sqlite/sqlite3.h ) + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1") endif()