Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KGet
Commits
0c0a5907
Commit
0c0a5907
authored
Mar 18, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
0c0a5907
...
...
@@ -73,8 +73,8 @@ if(WIN32)
set
(
CMAKE_REQUIRED_INCLUDES
${
KDEWIN32_INCLUDES
}
)
endif
()
find_package
(
S
ql
ite
)
set_package_properties
(
S
ql
ite PROPERTIES
find_package
(
S
QL
ite
3
)
set_package_properties
(
S
QL
ite
3
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
(
SQL
ITE
_FOUND
)
if
(
SQL
ite3
_FOUND
)
add_definitions
(
-DHAVE_SQLITE
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment