mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
5ae2596027
Refactor common logic out of individual RunCMake/find_package-CPS tests. Move enabling the experimental gate to the RunCMakeTest.cmake, add a separate test to verify the experimental warning, and suppress it everywhere else. This will greatly simplify writing non-failure tests.
8 lines
257 B
CMake
8 lines
257 B
CMake
cmake_minimum_required(VERSION 4.0)
|
|
|
|
include(Setup.cmake)
|
|
|
|
###############################################################################
|
|
# Test requesting unavailable components from a package.
|
|
find_package(ComponentTest REQUIRED COMPONENTS DoesNotExist)
|