Take into account the include path found by cmake when looking for litesql lib
This commit is contained in:
1 parent
3238404753
commit
4bae383c1d
1 file changed
+1
@@ -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 "")
|
||||
|
||||
Reference in new issue
Block a user