diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 30a7292c..ebcbe6f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -416,6 +416,16 @@ else() endif() ################################################################################ +# Detect SQLite3 +################################################################################ +find_package(SQLite3) +if (SQLITE3_FOUND) + include_directories(${SQLITE3_INCLUDE_DIRS}) +else() + message( FATAL_ERROR "SQLite3 not found, please install" ) +endif() + +################################################################################ # Detect libcap ################################################################################ check_include_file("sys/capability.h" HAVE_SYS_CAPABILITY_H) |