summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_umbrella_config/CMakeLists.txt
blob: 8210dc5b547c5015e2a0a960026e822babd38b05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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(test_umbrella_config)

add_subdirectory(components_found)

if (Qt6_FOUND)
    message(SEND_ERROR "Qt6_FOUND variable leaked!")
endif()

if (Qt6Core_FOUND)
    message(SEND_ERROR "Qt6Core_FOUND variable leaked!")
endif()

if (TARGET Qt6::Core)
    message(SEND_ERROR "Qt6::Core target leaked!")
endif()

add_subdirectory(components_not_found)