summaryrefslogtreecommitdiff
path: root/tests/auto/application/CMakeLists.txt
blob: 97eb9d1a55a902b8384aad2f53cfc63c63365836 (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

qt_internal_add_test(tst_application
    SOURCES
        ../error-checking.h
        tst_application.cpp
    DEFINES
        AM_TESTDATA_DIR="${CMAKE_CURRENT_BINARY_DIR}/../../data/"
    LIBRARIES
        Qt::Network
        Qt::AppManApplicationPrivate
        Qt::AppManCommonPrivate
        Qt::AppManManagerPrivate
)

qt_internal_add_resource(tst_application "application_testdata"
    PREFIX
        "/"
    FILES
        "info.yaml"
)

qt_internal_extend_target(tst_application CONDITION TARGET Qt::DBus
    LIBRARIES
        Qt::DBus
)