From 8e2f45c24b98ad97be584c61528a82807ef5cebe Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 20 Mar 2008 18:25:33 -0400 Subject: 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. --- Tests/MakeClean/ToClean/CMakeLists.txt | 2 +- Tests/Preprocess/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/MakeClean/ToClean/CMakeLists.txt b/Tests/MakeClean/ToClean/CMakeLists.txt index 47542e8..50facad 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 b1f95f4..fa9a109 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 -- cgit v0.12