summaryrefslogtreecommitdiffstats
path: root/examples/corelib/ipc/CMakeLists.txt
blob: 270f71faec034b3530679e143b37a3437034e79a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

if(NOT TARGET Qt6::Widgets)
    return()
endif()
if(QT_FEATURE_sharedmemory AND QT_FEATURE_systemsemaphore)
    qt_internal_add_example(sharedmemory)
endif()
if(QT_FEATURE_localserver AND TARGET Qt6::Network)
    qt_internal_add_example(localfortuneserver)
    qt_internal_add_example(localfortuneclient)
endif()