scripting: Build generic scripting KCM only with KWIN_BUILD_KCMS
Without scripting KCM there is no access to script configuration either Signed-off-by: Eike Hein <eike.hein@mbition.io>
This commit is contained in:
parent
4a14ac51ed
commit
1256ab4b84
1 changed files with 13 additions and 11 deletions
|
@ -1,11 +1,13 @@
|
||||||
set(kcm_kwin4_genericscripted_SRCS genericscriptedconfig.cpp)
|
if (KWIN_BUILD_KCMS)
|
||||||
qt_add_dbus_interface(kcm_kwin4_genericscripted_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
set(kcm_kwin4_genericscripted_SRCS genericscriptedconfig.cpp)
|
||||||
add_library(kcm_kwin4_genericscripted MODULE ${kcm_kwin4_genericscripted_SRCS})
|
qt_add_dbus_interface(kcm_kwin4_genericscripted_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
||||||
target_link_libraries(kcm_kwin4_genericscripted
|
add_library(kcm_kwin4_genericscripted MODULE ${kcm_kwin4_genericscripted_SRCS})
|
||||||
KF5::ConfigWidgets #KCModule
|
target_link_libraries(kcm_kwin4_genericscripted
|
||||||
KF5::I18n
|
KF5::ConfigWidgets #KCModule
|
||||||
KF5::Service
|
KF5::I18n
|
||||||
Qt::DBus
|
KF5::Service
|
||||||
Qt::UiTools
|
Qt::DBus
|
||||||
)
|
Qt::UiTools
|
||||||
install(TARGETS kcm_kwin4_genericscripted DESTINATION ${KDE_INSTALL_PLUGINDIR}/kwin/effects/configs)
|
)
|
||||||
|
install(TARGETS kcm_kwin4_genericscripted DESTINATION ${KDE_INSTALL_PLUGINDIR}/kwin/effects/configs)
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue