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
KMenuEdit
Commits
0a5e7031
Commit
0a5e7031
authored
Jan 30, 2021
by
Nicolas Fella
Browse files
Use versionless Qt cmake target
This makes it easier to build against both Qt5 and Qt6 GIT_SILENT
parent
14e74ad2
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
0a5e7031
...
...
@@ -64,8 +64,8 @@ add_executable( kmenuedit ${kmenuedit_KDEINIT_SRCS})
target_compile_definitions
(
kmenuedit PRIVATE -DPROJECT_VERSION=
"
${
PROJECT_VERSION
}
"
)
target_link_libraries
(
kmenuedit
Qt
5
::DBus
Qt
5
::Xml
Qt::DBus
Qt::Xml
KF5::DBusAddons
KF5::GlobalAccel
KF5::I18n
...
...
kconf_update/CMakeLists.txt
View file @
0a5e7031
add_executable
(
kmenuedit_globalaccel globalaccel.cpp ../globalaccel.cpp
)
target_link_libraries
(
kmenuedit_globalaccel Qt
5
::DBus KF5::ConfigCore KF5::GlobalAccel KF5::I18n KF5::Service
)
target_link_libraries
(
kmenuedit_globalaccel Qt::DBus KF5::ConfigCore KF5::GlobalAccel KF5::I18n KF5::Service
)
install
(
TARGETS kmenuedit_globalaccel DESTINATION
${
KDE_INSTALL_LIBDIR
}
/kconf_update_bin
)
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