Kaynağa Gözat

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 18 yıl önce
ebeveyn
işleme
8e2f45c24b

+ 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