summaryrefslogtreecommitdiffstats
path: root/tests/manual/widgets/webrtc/CMakeLists.txt
blob: 4d58abf8c0a648aacc90a744ebd917479cf96c12 (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
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
    cmake_minimum_required(VERSION 3.19)
    project(webrtc LANGUAGES CXX)
    find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)

qt_internal_add_manual_test(webrtc
    GUI
    SOURCES
        main.cpp
        mediaPicker.ui
        qrc.qrc
    LIBRARIES
        Qt::Core
        Qt::HttpServer
        Qt::Gui
        Qt::WebEngineWidgets
)