Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
dd717dd3
Commit
dd717dd3
authored
Mar 18, 2021
by
Alexander Lohnau
💬
Browse files
bookmarksrunner: Clean up unneeded CMake code
parent
35eb251d
Changes
1
Hide whitespace changes
Inline
Side-by-side
runners/bookmarks/CMakeLists.txt
View file @
dd717dd3
...
...
@@ -5,15 +5,6 @@ add_definitions(-DTRANSLATION_DOMAIN=\"plasma_runner_bookmarksrunner\")
find_package
(
Qt5 CONFIG REQUIRED COMPONENTS Sql
)
set
(
EXTERNAL_LIBS
Qt::Sql
KF5::KIOCore
KF5::I18n
KF5::Runner
KF5::Bookmarks
)
set
(
krunner_bookmarks_common_SRCS
bookmarkmatch.cpp
faviconfromblob.cpp
...
...
@@ -35,15 +26,15 @@ ecm_qt_declare_logging_category(krunner_bookmarks_common_SRCS
)
add_library
(
krunner_bookmarks_common STATIC
${
krunner_bookmarks_common_SRCS
}
)
target_link_libraries
(
krunner_bookmarks_common
${
EXTERNAL_LIBS
}
)
set
(
krunner_bookmarksrunner_SRCS
bookmarksrunner.cpp
browserfactory.cpp
target_link_libraries
(
krunner_bookmarks_common
Qt::Sql
KF5::KIOCore
KF5::I18n
KF5::Runner
KF5::Bookmarks
)
add_library
(
krunner_bookmarksrunner MODULE
${
krunner_bookmarksrunner_SRCS
}
)
add_library
(
krunner_bookmarksrunner MODULE bookmarksrunner.cpp browserfactory.cpp
)
kcoreaddons_desktop_to_json
(
krunner_bookmarksrunner plasma-runner-bookmarks.desktop
)
target_link_libraries
(
krunner_bookmarksrunner krunner_bookmarks_common
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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