summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-21 13:25:04 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-21 14:11:49 (GMT)
commitcda401fec495c0d086af3c6bb2b169bd95842ec0 (patch)
tree09f3006c2171cc003fcf3000137087d1f0aff5b2
parent1a2ede17643e7696aaad0dc2d6027f2049d4e06e (diff)
downloadCMake-cda401fec495c0d086af3c6bb2b169bd95842ec0.zip
CMake-cda401fec495c0d086af3c6bb2b169bd95842ec0.tar.gz
CMake-cda401fec495c0d086af3c6bb2b169bd95842ec0.tar.bz2
Tests: Simplify CMakeOnly.AllFindModules policy settings
-rw-r--r--Tests/CMakeOnly/AllFindModules/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
index 8f842d6..e6c5270 100644
--- a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
+++ b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
@@ -1,10 +1,6 @@
-cmake_minimum_required (VERSION 2.8)
+cmake_minimum_required(VERSION 2.8.4) # new enough for CMP0017
project(AllFindModules)
-if (POLICY CMP0017)
- cmake_policy(SET CMP0017 NEW)
-endif ()
-
# Avoid ctest truncation of output
message(STATUS "CTEST_FULL_OUTPUT")