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)