2014-04-30 06:55:58 +00:00
|
|
|
# KI18N Translation Domain for this library
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcm-kwin-scripts\")
|
|
|
|
|
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-06-04 07:24:37 +00:00
|
|
|
ki18n_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
|
2019-09-18 10:31:02 +00:00
|
|
|
Qt5::DBus
|
|
|
|
|
2019-09-17 09:15:35 +00:00
|
|
|
KF5::I18n
|
2013-09-30 09:19:02 +00:00
|
|
|
KF5::KCMUtils
|
|
|
|
KF5::KIOCore
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::NewStuff
|
2019-09-17 09:15:35 +00:00
|
|
|
KF5::Package
|
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})
|
2019-09-17 09:15:35 +00:00
|
|
|
install(FILES kwinscripts.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
|