2014-11-13 19:30:51 +02:00
|
|
|
# needed for including kdecoration.h
|
|
|
|
include_directories (
|
2015-10-31 13:44:54 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/kwin/libkwineffects
|
|
|
|
${CMAKE_SOURCE_DIR}/kwin/libkdecorations
|
2015-11-01 04:42:08 +02:00
|
|
|
${CMAKE_BINARY_DIR}/kwin/libkwineffects
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
set(kcm_style_PART_SRCS
|
|
|
|
styleconfdialog.cpp
|
|
|
|
kcmstyle.cpp
|
|
|
|
stylepreview.ui
|
|
|
|
finetuning.ui
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
kde4_add_plugin(kcm_style ${kcm_style_PART_SRCS})
|
|
|
|
|
2024-05-09 22:28:20 +03:00
|
|
|
target_link_libraries(kcm_style
|
|
|
|
KDE4::kio
|
|
|
|
KDE4::plasma
|
|
|
|
kdecorations
|
|
|
|
${X11_LIBRARIES}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2024-05-09 22:28:20 +03:00
|
|
|
install(
|
|
|
|
TARGETS kcm_style
|
|
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2023-08-25 01:19:39 +03:00
|
|
|
install(
|
|
|
|
FILES style.desktop
|
|
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
|
|
)
|