forked from quickshell/quickshell
build: only install necessary qml module files
This commit is contained in:
parent
2e18340995
commit
1168879d6d
22 changed files with 130 additions and 19 deletions
|
@ -9,6 +9,8 @@ qt_add_qml_module(quickshell-service-greetd
|
|||
DEPENDENCIES QtQml
|
||||
)
|
||||
|
||||
install_qml_module(quickshell-service-greetd)
|
||||
|
||||
target_link_libraries(quickshell-service-greetd PRIVATE ${QT_DEPS})
|
||||
|
||||
qs_pch(quickshell-service-greetd)
|
||||
|
|
|
@ -33,6 +33,8 @@ qt_add_qml_module(quickshell-service-mpris
|
|||
DEPENDENCIES QtQml Quickshell
|
||||
)
|
||||
|
||||
install_qml_module(quickshell-service-mpris)
|
||||
|
||||
target_link_libraries(quickshell-service-mpris PRIVATE ${QT_DEPS} quickshell-dbus)
|
||||
target_link_libraries(quickshell PRIVATE quickshell-service-mprisplugin)
|
||||
|
||||
|
|
|
@ -23,6 +23,8 @@ qt_add_qml_module(quickshell-service-notifications
|
|||
DEPENDENCIES QtQml Quickshell
|
||||
)
|
||||
|
||||
install_qml_module(quickshell-service-notifications)
|
||||
|
||||
target_link_libraries(quickshell-service-notifications PRIVATE ${QT_DEPS} quickshell-dbus)
|
||||
target_link_libraries(quickshell PRIVATE quickshell-service-notificationsplugin)
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@ qt_add_qml_module(quickshell-service-pam
|
|||
DEPENDENCIES QtQml
|
||||
)
|
||||
|
||||
install_qml_module(quickshell-service-pam)
|
||||
|
||||
target_link_libraries(quickshell-service-pam PRIVATE ${QT_DEPS} pam ${PAM_LIBRARIES})
|
||||
|
||||
qs_pch(quickshell-service-pam)
|
||||
|
|
|
@ -19,6 +19,8 @@ qt_add_qml_module(quickshell-service-pipewire
|
|||
DEPENDENCIES QtQml Quickshell
|
||||
)
|
||||
|
||||
install_qml_module(quickshell-service-pipewire)
|
||||
|
||||
target_link_libraries(quickshell-service-pipewire PRIVATE ${QT_DEPS} PkgConfig::pipewire)
|
||||
|
||||
qs_pch(quickshell-service-pipewire)
|
||||
|
|
|
@ -44,6 +44,8 @@ qt_add_qml_module(quickshell-service-statusnotifier
|
|||
DEPENDENCIES QtQml Quickshell Quickshell.DBusMenu
|
||||
)
|
||||
|
||||
install_qml_module(quickshell-service-statusnotifier)
|
||||
|
||||
target_link_libraries(quickshell-service-statusnotifier PRIVATE ${QT_DEPS} quickshell-dbus quickshell-dbusmenuplugin)
|
||||
target_link_libraries(quickshell PRIVATE quickshell-service-statusnotifierplugin)
|
||||
|
||||
|
|
|
@ -33,6 +33,8 @@ qt_add_qml_module(quickshell-service-upower
|
|||
DEPENDENCIES QtQml Quickshell
|
||||
)
|
||||
|
||||
install_qml_module(quickshell-service-upower)
|
||||
|
||||
target_link_libraries(quickshell-service-upower PRIVATE ${QT_DEPS} quickshell-dbus)
|
||||
target_link_libraries(quickshell PRIVATE quickshell-service-upowerplugin)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue