Files
CMake/Tests/RunCMake/File_Generate/CMakeLists.txt
T
Brad King f4aa34daa7 Tests/RunCMake: Update cmake_minimum_required versions to 3.10
For policy-specific tests, use the version before the policy was
introduced.  Otherwise, use 3.10 where possible.
2024-10-03 11:52:22 -04:00

10 lines
271 B
CMake

cmake_minimum_required(VERSION 3.10)
if(RunCMake_TEST MATCHES "CMP0070-(WARN|OLD)")
cmake_policy(VERSION 3.9) # old enough to not set CMP0070
endif()
project(${RunCMake_TEST} NONE)
if(NOT TEST_FILE)
set(TEST_FILE ${RunCMake_TEST}.cmake)
endif()
include(${TEST_FILE})