summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/certificateerror/CMakeLists.txt
blob: ab996d0db87dbb5a933c1cd9ebd8929b05d20aac (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
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

include(../../httpserver/httpserver.cmake)
include(../../util/util.cmake)

qt_internal_add_test(tst_certificateerror
    SOURCES
        tst_certificateerror.cpp
    LIBRARIES
        Qt::WebEngineCore
        Test::HttpServer
        Test::Util
)

set(tst_certificateerror_resource_files
    "resources/server.pem"
    "resources/server.key"
)

qt_internal_add_resource(tst_certificateerror "tst_certificateerror"
    PREFIX
       "/"
    FILES
       ${tst_certificateerror_resource_files}
)