mirror of
https://github.com/qt/qtmqtt.git
synced 2026-10-25 16:16:26 +00:00
Move the example IODevices to be used with websockets under the mqtt umbrella. Two (private) devices are created; QMqttSecureWebSocketIO and QMqttWebSocketIO Fixes: QTBUG-129171 Change-Id: Ib7d37150c3a229e882a0c04a32cdd8b7929baf3b Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
20 lines
610 B
CMake
20 lines
610 B
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
include(.cmake.conf)
|
|
project(QtMqtt
|
|
VERSION "${QT_REPO_MODULE_VERSION}"
|
|
DESCRIPTION "Qt Mqtt Libraries"
|
|
HOMEPAGE_URL "https://qt.io/"
|
|
LANGUAGES CXX C
|
|
)
|
|
|
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network)
|
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Quick # For tests
|
|
Gui Widgets WebSockets) # For examples
|
|
qt_internal_project_setup()
|
|
|
|
qt_build_repo()
|