project(plasma-containmentactions-switchwindow)

add_definitions(-DTRANSLATION_DOMAIN=\"plasma_containmentactions_switchwindow\")

set(switchwindow_SRCS
    switch.cpp
)
kde4_add_ui_files(switchwindow_SRCS config.ui)

add_library(plasma_containmentactions_switchwindow MODULE ${switchwindow_SRCS})

kcoreaddons_desktop_to_json(plasma_containmentactions_switchwindow plasma-containmentactions-switchwindow.desktop)

target_link_libraries(plasma_containmentactions_switchwindow
                      KF5::Plasma
                      KF5::KIOCore
                      KF5::I18n
                      KF5::WindowSystem
                      taskmanager)

install(TARGETS plasma_containmentactions_switchwindow DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-containmentactions-switchwindow.desktop DESTINATION ${SERVICES_INSTALL_DIR})
