Tests/RunCMake: Update cmake_minimum_required versions

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`.
This commit is contained in:
Brad King
2023-02-06 14:23:09 -05:00
parent 65a1c379ee
commit 1edf138506
240 changed files with 214 additions and 367 deletions

View File

@@ -1,6 +1,4 @@
cmake_minimum_required(VERSION 3.3)
project(XcodeIOSInstallCombinedPrune CXX)
enable_language(CXX)
if(XCODE_VERSION VERSION_GREATER_EQUAL 9)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10)