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 PulseAudio Applet
Commits
70404a0b
Commit
70404a0b
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
7ce25134
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
70404a0b
...
...
@@ -49,10 +49,10 @@ endif()
add_library
(
plasma-volume-declarative SHARED
${
dbus_SRCS
}
${
cpp_SRCS
}
${
qml_SRCS
}
)
target_link_libraries
(
plasma-volume-declarative
Qt
5
::Core
Qt
5
::Gui
Qt
5
::DBus
Qt
5
::Quick
Qt::Core
Qt::Gui
Qt::DBus
Qt::Quick
KF5::GlobalAccel
KF5::I18n
KF5::Notifications
...
...
src/kcm/CMakeLists.txt
View file @
70404a0b
...
...
@@ -3,7 +3,7 @@ add_library(kcm_pulseaudio MODULE module.cpp)
target_include_directories
(
kcm_pulseaudio PRIVATE
${
CMAKE_BINARY_DIR
}
)
target_link_libraries
(
kcm_pulseaudio
Qt
5
::Quick
Qt::Quick
KF5::CoreAddons
KF5::Declarative
KF5::I18n
...
...
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