mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Use versionless Qt cmake target
This makes it easier to build against both Qt5 and Qt6 GIT_SILENT
This commit is contained in:
parent
acda20ffe5
commit
8f92f6b4d6
4 changed files with 10 additions and 10 deletions
|
|
@ -8,10 +8,10 @@ add_library(plasma_containment_phone_homescreen MODULE ${homescreen_SRCS})
|
|||
kcoreaddons_desktop_to_json(plasma_containment_phone_homescreen package/metadata.desktop)
|
||||
|
||||
target_link_libraries(plasma_containment_phone_homescreen
|
||||
Qt5::Gui
|
||||
Qt::Gui
|
||||
KF5::Plasma
|
||||
Qt5::Qml
|
||||
Qt5::Quick
|
||||
Qt::Qml
|
||||
Qt::Quick
|
||||
KF5::I18n
|
||||
KF5::Service
|
||||
KF5::KIOGui
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ add_library(plasma_applet_phonepanel MODULE ${phonepanel_SRCS})
|
|||
kcoreaddons_desktop_to_json(plasma_applet_phonepanel package/metadata.desktop)
|
||||
|
||||
target_link_libraries(plasma_applet_phonepanel
|
||||
Qt5::Gui
|
||||
Qt5::DBus
|
||||
Qt::Gui
|
||||
Qt::DBus
|
||||
KF5::Plasma
|
||||
KF5::I18n
|
||||
KF5::Notifications)
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@ add_library(plasma_containment_phone_taskpanel MODULE ${taskpanel_SRCS})
|
|||
kcoreaddons_desktop_to_json(plasma_containment_phone_taskpanel package/metadata.desktop)
|
||||
|
||||
target_link_libraries(plasma_containment_phone_taskpanel
|
||||
Qt5::Gui
|
||||
Qt5::DBus
|
||||
Qt::Gui
|
||||
Qt::DBus
|
||||
KF5::Plasma
|
||||
Qt5::Qml
|
||||
Qt5::Quick
|
||||
Qt::Qml
|
||||
Qt::Quick
|
||||
KF5::I18n
|
||||
KF5::Service
|
||||
KF5::WaylandClient
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ QT5_ADD_RESOURCES(touchtest_SRC
|
|||
|
||||
add_executable(touchtest ${touchtest_SRC})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Quick Qt5::Widgets)
|
||||
target_link_libraries(${PROJECT_NAME} Qt::Core Qt::Quick Qt::Widgets)
|
||||
|
||||
INSTALL( TARGETS touchtest DESTINATION bin)
|
||||
INSTALL( PROGRAMS org.kde.touchtest.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
|
|
|
|||
Loading…
Reference in a new issue