summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/ipc/qsharedmemory/CMakeLists.txt
blob: da87d1c7beb1b7b79a0986077a1d4a891f48dce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

qt_internal_add_test(tst_qsharedmemory
    SOURCES
        tst_qsharedmemory.cpp
    LIBRARIES
        Qt::CorePrivate
)

## Scopes:
#####################################################################

qt_internal_extend_target(tst_qsharedmemory CONDITION LINUX
    LIBRARIES
        rt
)
add_subdirectory(producerconsumer)
if(QT_FEATURE_process)
    add_dependencies(tst_qsharedmemory producerconsumer_helper)
endif()