2011-12-21 06:28:51 +00:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h)
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
|
|
|
set(kcm_SRCS
|
|
|
|
main.cpp
|
|
|
|
module.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_ui_files(kcm_SRCS module.ui)
|
|
|
|
|
2013-11-15 12:37:47 +00:00
|
|
|
add_library(kcm_kwin_scripts MODULE ${kcm_SRCS})
|
2011-12-21 06:28:51 +00:00
|
|
|
|
|
|
|
target_link_libraries(kcm_kwin_scripts
|
2013-09-30 09:19:02 +00:00
|
|
|
Qt5::DBus
|
|
|
|
KF5::KCMUtils
|
|
|
|
KF5::KIOCore
|
|
|
|
KF5::KI18n
|
2013-10-15 23:36:24 +00:00
|
|
|
KF5::Plasma
|
2013-10-29 12:00:46 +00:00
|
|
|
KF5::KDE4Support
|
2013-11-15 12:37:47 +00:00
|
|
|
KF5::KNewStuff
|
2011-12-21 06:28:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS kcm_kwin_scripts DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES kwinscripts.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
2012-05-06 14:54:12 +00:00
|
|
|
install(FILES kwinscripts.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
|