Commit bd578d50 authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix sqlite detection

Use correct config name as provided by cmake
parent 7b4ca8fa
Pipeline #152329 passed with stage
in 1 minute and 38 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()
......
Supports Markdown
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