cmake: Reverted requiredness of sqlite3
This commit is contained in:
parent
d387c6d8c4
commit
d5316891ef
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user