Warning, /sdk/selenium-webdriver-at-spi/inputsynth/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-inputsynth.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.kde.selenium-webdriver-at-spi-inputsynth.desktop) 0005 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.selenium-webdriver-at-spi-inputsynth.desktop DESTINATION ${KDE_INSTALL_APPDIR}) 0006 0007 add_executable(selenium-webdriver-at-spi-inputsynth main.cpp interaction.cpp) 0008 if(QT_MAJOR_VERSION EQUAL "5") 0009 ecm_add_qtwayland_client_protocol(selenium-webdriver-at-spi-inputsynth 0010 PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml 0011 BASENAME fake-input 0012 ) 0013 target_link_libraries(selenium-webdriver-at-spi-inputsynth 0014 Qt::GuiPrivate # QPlatformNativeInterface 0015 ) 0016 else() 0017 qt6_generate_wayland_protocol_client_sources(selenium-webdriver-at-spi-inputsynth FILES ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml) 0018 endif() 0019 0020 target_link_libraries(selenium-webdriver-at-spi-inputsynth 0021 Qt::Core 0022 Qt::Gui 0023 Qt::WaylandClient # Fake input protocol 0024 Qt::DBus 0025 Wayland::Client 0026 PkgConfig::xkbcommon 0027 ) 0028 install(TARGETS selenium-webdriver-at-spi-inputsynth ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})