summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_umbrella_config/CMakeLists.txt
blob: a8fc2b53eda06bf50eb2600006e2c26a37a6d41c (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 2.8)

project(test_umbrella_config)

add_subdirectory(components_found)

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

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

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

add_subdirectory(components_not_found)