summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-19 21:29:31 +0200
committerlouiz’ <louiz@louiz.org>2017-04-19 21:29:31 +0200
commit4bae383c1ddb762308c99f90625e5ecc885146b3 (patch)
tree908033438224c3937342ced6415966bcd4eaa1f7
parent32384047537ed7c63cf3099b247777ed6035af49 (diff)
downloadbiboumi-4bae383c1ddb762308c99f90625e5ecc885146b3.tar.gz
biboumi-4bae383c1ddb762308c99f90625e5ecc885146b3.tar.bz2
biboumi-4bae383c1ddb762308c99f90625e5ecc885146b3.tar.xz
biboumi-4bae383c1ddb762308c99f90625e5ecc885146b3.zip
Take into account the include path found by cmake when looking for litesql lib
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9458f00..41260aa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -194,6 +194,7 @@ if(LITESQL_FOUND)
add_library(database OBJECT src/database/database.cpp
${LITESQL_GENERATED_SOURCES})
+ include_directories(database ${LITESQL_INCLUDE_DIRS})
set(USE_DATABASE TRUE)
else()
add_library(database OBJECT "")