Browse 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 18 years ago
parent
commit
8e2f45c24b
2 changed files with 2 additions and 2 deletions
  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)
 PROJECT(ToClean)
 
 
 # Build a simple project.
 # 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)
 project(Preprocess)
 
 
 # This test is meant both as a test and as a reference for supported
 # This test is meant both as a test and as a reference for supported