summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/text/qfont/CMakeLists.txt
blob: 05c6ca8270a45db06f259bb6bd4973d8454d9150 (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
# Generated from qfont.pro.

#####################################################################
## tst_qfont Test:
#####################################################################

qt_internal_add_test(tst_qfont
    SOURCES
        tst_qfont.cpp
    PUBLIC_LIBRARIES
        Qt::CorePrivate
        Qt::Gui
        Qt::GuiPrivate
        Qt::TestPrivate
)

# Resources:
set(testfont_resource_files
    "weirdfont.otf"
)

qt_internal_add_resource(tst_qfont "testfont"
    PREFIX
        "/"
    FILES
        ${testfont_resource_files}
)


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

qt_internal_extend_target(tst_qfont CONDITION TARGET Qt::Widgets
    PUBLIC_LIBRARIES
        Qt::Widgets
)