mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
1edf138506
For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.5 where possible. Also, remove `cmake_minimum_required()` and `project()` calls from individual cases where they are handled by `CMakeLists.txt`.
8 lines
186 B
CMake
8 lines
186 B
CMake
cmake_minimum_required(VERSION 3.17)
|
|
if (RunCMake_TEST STREQUAL "CMP0106-WARN-VTK")
|
|
project(VTK NONE)
|
|
else ()
|
|
project(${RunCMake_TEST} NONE)
|
|
endif ()
|
|
include(${RunCMake_TEST}.cmake)
|