summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/qaccessibility/CMakeLists.txt
blob: a3372456dbe9632a9160409a40d76a86fd6ce32e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

if(NOT QT_FEATURE_accessibility)
    return()
endif()

#####################################################################
## tst_qaccessibility Test:
#####################################################################

qt_internal_add_test(tst_qaccessibility
    SOURCES
        accessiblewidgets.h
        tst_qaccessibility.cpp
    LIBRARIES
        Qt::CorePrivate
        Qt::Gui
        Qt::GuiPrivate
        Qt::TestPrivate
        Qt::WidgetsPrivate
)

## Scopes:
#####################################################################

qt_internal_extend_target(tst_qaccessibility CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY
    LIBRARIES
        m
)

qt_internal_extend_target(tst_qaccessibility CONDITION WIN32
    LIBRARIES
        ole32
        oleacc
        oleaut32
        uuid
)