From fd05f13fe49b3d180942681fc2035d6e9a6925da Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Mon, 19 Feb 2018 11:44:43 +0100 Subject: [PATCH] Make error message if sqlite3 is not found! --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a815873..38d6253 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)