2010-01-19 13:44:22 +00:00
|
|
|
# need a header file from Aurorae sources
|
|
|
|
include_directories(
|
|
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/clients/aurorae/src/
|
|
|
|
)
|
|
|
|
|
|
|
|
set(kcm_kwindecoration_PART_SRCS
|
|
|
|
kwindecoration.cpp
|
|
|
|
buttons.cpp
|
|
|
|
buttonsconfigdialog.cpp
|
|
|
|
configdialog.cpp
|
|
|
|
preview.cpp
|
|
|
|
decorationdelegate.cpp
|
|
|
|
decorationmodel.cpp
|
|
|
|
auroraepreview.cpp
|
|
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/clients/aurorae/src/themeconfig.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_ui_files(kcm_kwindecoration_PART_SRCS buttons.ui config.ui decoration.ui)
|
|
|
|
|
2007-04-29 17:35:43 +00:00
|
|
|
kde4_add_plugin(kcm_kwindecoration ${kcm_kwindecoration_PART_SRCS})
|
2010-01-19 13:44:22 +00:00
|
|
|
target_link_libraries(kcm_kwindecoration ${KDE4_PLASMA_LIBS} ${KDE4_KNEWSTUFF3_LIBS} kdecorations ${X11_LIBRARIES})
|
2007-04-29 17:35:43 +00:00
|
|
|
install(TARGETS kcm_kwindecoration DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install( FILES kwindecoration.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|