d11288293c
KCModule needs a KAboutData as argument and KPluginFactory provides componentName() as static method.
8 lines
396 B
CMake
8 lines
396 B
CMake
set(kcm_kwin4_genericscripted_SRCS genericscriptedconfig.cpp)
|
|
kde4_add_plugin( kcm_kwin4_genericscripted ${kcm_kwin4_genericscripted_SRCS} )
|
|
target_link_libraries( kcm_kwin4_genericscripted
|
|
${KDE4Support_LIBRARIES} # KStandardDirs
|
|
${KDE4_KDEUI_LIBRARY} #KCModule
|
|
KF5::plasma
|
|
${Qt5UiTools_LIBRARIES} )
|
|
install( TARGETS kcm_kwin4_genericscripted DESTINATION ${PLUGIN_INSTALL_DIR} )
|