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
|
|
|
|
)
|
|
|
|
|
2014-03-18 10:06:56 +00:00
|
|
|
qt5_wrap_ui(kcm_SRCS module.ui)
|
2011-12-21 06:28:51 +00:00
|
|
|
|
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
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::I18n
|
2013-10-15 23:36:24 +00:00
|
|
|
KF5::Plasma
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::NewStuff
|
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})
|