From d5316891ef4a287577e73c6bbf3c07ee8cb2c07a Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 23 Oct 2018 06:28:04 +0200 Subject: [PATCH] cmake: Reverted requiredness of sqlite3 --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 911c502..262948e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,11 @@ project (whyblocked include(GNUInstallDirs) find_package(PkgConfig REQUIRED) pkg_check_modules(LIBXDG_BASEDIR REQUIRED libxdg-basedir) -pkg_check_modules(SQLITE3 REQUIRED sqlite3) +# sqlite3 is not a direct dependency, but vsqlite++ has no cmake- or pkg-config +# module. Since it installs in the same directories as sqlite3, I am adding the +# module here to add the include- and link directories below. It is not REQUIRED +# because the sqlite3 in Debian jessie doesn't come with an pkg-config module. +pkg_check_modules(SQLITE3 sqlite3) find_package(Qt5Core CONFIG REQUIRED) if(NOT WITHOUT_GUI) find_package(Qt5Widgets CONFIG REQUIRED)