summaryrefslogtreecommitdiff
path: root/tests/auto/sudo/CMakeLists.txt
blob: 4b90f34a108dcea07f8d6e14dea06b89ad2df199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

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

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