blob: 1fdd9c7968e40850ca4922b88b68d25300fb6725 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
cmake_minimum_required(VERSION 3.16)
project(network_cppsnippets)
add_executable(mytarget
network/tcpwait.cpp
)
# ![0]
find_package(Qt6 REQUIRED COMPONENTS Network)
target_link_libraries(mytarget PRIVATE Qt6::Network)
# ![0]
|