Parcourir la source

BUG: Convert cmake_policy(VERSION) to cmake_minimum_required(VERSION) in Tests/MakeClean/ToClean/CMakeLists.txt and Tests/Preprocess/CMakeLists.txt. CMP0000 now requires the cmake_minimum_required command.

Brad King il y a 18 ans
Parent
commit
8e2f45c24b
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      Tests/MakeClean/ToClean/CMakeLists.txt
  2. 1 1
      Tests/Preprocess/CMakeLists.txt

+ 1 - 1
Tests/MakeClean/ToClean/CMakeLists.txt

@@ -1,4 +1,4 @@
-cmake_policy(VERSION 2.6)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
 PROJECT(ToClean)
 
 # Build a simple project.

+ 1 - 1
Tests/Preprocess/CMakeLists.txt

@@ -1,4 +1,4 @@
-cmake_policy(VERSION 2.6)
+cmake_minimum_required(VERSION 2.6)
 project(Preprocess)
 
 # This test is meant both as a test and as a reference for supported