summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_umbrella_config/CMakeLists.txt
blob: a7c31971fb34fc29cf2cba4a18372e2ba84f2898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

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)