Warning, /sdk/selenium-webdriver-at-spi/videorecorder/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: BSD-3-Clause
0002 # SPDX-FileCopyrightText: 2022 Harald Sitter <sitter@kde.org>
0003 
0004 configure_file(org.kde.selenium-webdriver-at-spi-recorder.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.kde.selenium-webdriver-at-spi-recorder.desktop)
0005 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.selenium-webdriver-at-spi-recorder.desktop DESTINATION ${KDE_INSTALL_APPDIR})
0006 
0007 add_executable(selenium-webdriver-at-spi-recorder main.cpp screencasting.cpp)
0008 target_link_libraries(selenium-webdriver-at-spi-recorder
0009     Qt::Core
0010     Qt::Gui
0011     Qt::GuiPrivate
0012     Qt::WaylandClient
0013     Qt::DBus
0014     KF${QT_MAJOR_VERSION}::CoreAddons
0015     Wayland::Client
0016     K::KPipeWireRecord
0017 )
0018 
0019 if (QT_MAJOR_VERSION EQUAL "5")
0020     ecm_add_qtwayland_client_protocol(selenium-webdriver-at-spi-recorder
0021         PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/zkde-screencast-unstable-v1.xml
0022         BASENAME zkde-screencast-unstable-v1
0023     )
0024 else()
0025     qt6_generate_wayland_protocol_client_sources(selenium-webdriver-at-spi-recorder FILES
0026         ${PLASMA_WAYLAND_PROTOCOLS_DIR}/zkde-screencast-unstable-v1.xml)
0027 endif()
0028 
0029 install(TARGETS selenium-webdriver-at-spi-recorder ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})