Commit 0c0a5907 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix sqlite detection

Use correct config name as provided by cmake

(cherry picked from commit bd578d50)
parent e847a5a9
Pipeline #152336 passed with stage
in 2 minutes and 7 seconds
......@@ -73,8 +73,8 @@ if(WIN32)
set(CMAKE_REQUIRED_INCLUDES ${KDEWIN32_INCLUDES})
endif()
find_package(Sqlite)
set_package_properties(Sqlite PROPERTIES
find_package(SQLite3)
set_package_properties(SQLite3 PROPERTIES
DESCRIPTION "SQLite is a Binary-Database"
TYPE RECOMMENDED
PURPOSE "Needed for the SQLite-Backend of the KGet-History"
......@@ -161,7 +161,7 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}/core/
)
if(SQLITE_FOUND)
if(SQLite3_FOUND)
add_definitions(-DHAVE_SQLITE)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment