kde-workspace/kcontrol/style/CMakeLists.txt
Ivailo Monev f511ecd2b8 kcontrol: convert style KCM initialization to autostart
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-09 22:29:18 +03:00

36 lines
697 B
CMake

# needed for including kdecoration.h
include_directories (
${CMAKE_SOURCE_DIR}/kwin/libkwineffects
${CMAKE_SOURCE_DIR}/kwin/libkdecorations
${CMAKE_BINARY_DIR}/kwin/libkwineffects
)
########### next target ###############
set(kcm_style_PART_SRCS
styleconfdialog.cpp
kcmstyle.cpp
stylepreview.ui
finetuning.ui
)
kde4_add_plugin(kcm_style ${kcm_style_PART_SRCS})
target_link_libraries(kcm_style
KDE4::kio
KDE4::plasma
kdecorations
${X11_LIBRARIES}
)
install(
TARGETS kcm_style
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
########### install files ###############
install(
FILES style.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)