mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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:
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
project(objctest LANGUAGES C OBJC)
|
||||
enable_language(C)
|
||||
enable_language(OBJC)
|
||||
|
||||
include(CheckOBJCCompilerFlag)
|
||||
check_objc_compiler_flag(-fobjc-arc HAVE_OBJC_ARC)
|
||||
|
||||
Reference in New Issue
Block a user