summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tests/MakeClean/ToClean/CMakeLists.txt2
-rw-r--r--Tests/Preprocess/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/MakeClean/ToClean/CMakeLists.txt b/Tests/MakeClean/ToClean/CMakeLists.txt
index 47542e8b51..50facadb7c 100644
--- a/Tests/MakeClean/ToClean/CMakeLists.txt
+++ b/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.
diff --git a/Tests/Preprocess/CMakeLists.txt b/Tests/Preprocess/CMakeLists.txt
index b1f95f4e82..fa9a1098b8 100644
--- a/Tests/Preprocess/CMakeLists.txt
+++ b/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