qt5base-lts/tests/auto/other/qaccessibilitylinux/CMakeLists.txt
Leander Beernaert 0cab837fd7 Convert tests/auto/other
Change-Id: I79ba4f6bbbbede8ddab278dd987d9ad98277a229
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CMake Build Bot
2019-10-28 12:19:50 +00:00

35 lines
1.0 KiB
CMake

# Generated from qaccessibilitylinux.pro.
# special case begin
if (NOT QT_FEATURE_accessibility OR NOT TARGET Qt::LinuxAccessibilitySupportPrivate)
return()
endif()
# special case end
#####################################################################
## tst_qaccessibilitylinux Test:
#####################################################################
add_qt_test(tst_qaccessibilitylinux
SOURCES
tst_qaccessibilitylinux.cpp
DBUS_INTERFACE_SOURCES
../../../../src/platformsupport/linuxaccessibility/dbusxml/Bus.xml
LIBRARIES
Qt::AccessibilitySupportPrivate
Qt::GuiPrivate
Qt::LinuxAccessibilitySupportPrivate
PUBLIC_LIBRARIES
Qt::AccessibilitySupport
Qt::DBus
Qt::Gui
Qt::LinuxAccessibilitySupport
Qt::Widgets
)
# special case begin
# require for struct_marshallers_p.h which is included dbus_interface.h
target_include_directories(tst_qaccessibilitylinux PRIVATE
../../../../src/platformsupport/linuxaccessibility
)
# special case end