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
KGamma
Commits
c4e0b78d
Commit
c4e0b78d
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
5d465c02
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcmkgamma/CMakeLists.txt
View file @
c4e0b78d
...
...
@@ -12,7 +12,7 @@ set(kcm_kgamma_PART_SRCS
add_library
(
kcm_kgamma MODULE
${
kcm_kgamma_PART_SRCS
}
)
target_link_libraries
(
kcm_kgamma
${
X11_Xxf86vm_LIB
}
${
X11_LIBRARIES
}
Qt
5
::Core Qt
5
::Widgets KF5::ConfigCore KF5::ConfigWidgets KF5::I18n
)
target_link_libraries
(
kcm_kgamma
${
X11_Xxf86vm_LIB
}
${
X11_LIBRARIES
}
Qt::Core Qt::Widgets KF5::ConfigCore KF5::ConfigWidgets KF5::I18n
)
install
(
TARGETS kcm_kgamma DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
...
...
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