Make error message if sqlite3 is not found!

This commit is contained in:
Jan Vidar Krey 2018-02-19 11:44:43 +01:00
parent 11538d6909
commit fd05f13fe4
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ if (SSL_SUPPORT)
endif()
endif()
if (NOT SQLITE3_FOUND)
message(FATAL_ERROR "SQLite3 is not found!")
endif()
if (SYSTEMD_SUPPORT)
INCLUDE(FindPkgConfig)
pkg_search_module(SD REQUIRED libsystemd)