summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-21 14:12:05 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-21 14:12:05 (GMT)
commitdf7590a2b96e6b3f8f1911e6679ddf53fc3f644c (patch)
treeb57187d86c13cd2f75953348287cd71d10f3a59f
parent08c99c92532aaa54cf716ce07bc241ae1d2e997b (diff)
parentcda401fec495c0d086af3c6bb2b169bd95842ec0 (diff)
downloadCMake-df7590a2b96e6b3f8f1911e6679ddf53fc3f644c.zip
CMake-df7590a2b96e6b3f8f1911e6679ddf53fc3f644c.tar.gz
CMake-df7590a2b96e6b3f8f1911e6679ddf53fc3f644c.tar.bz2
Merge branch 'fix-test-all-find-modules' into release
-rw-r--r--Tests/CMakeOnly/AllFindModules/CMakeLists.txt6
-rw-r--r--Tests/FindModulesExecuteAll/CMakeLists.txt2
2 files changed, 2 insertions, 6 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")
diff --git a/Tests/FindModulesExecuteAll/CMakeLists.txt b/Tests/FindModulesExecuteAll/CMakeLists.txt
index 21b9d38..4893bb3 100644
--- a/Tests/FindModulesExecuteAll/CMakeLists.txt
+++ b/Tests/FindModulesExecuteAll/CMakeLists.txt
@@ -6,8 +6,8 @@
#
# I guess more things could be added, like checking whether variables are
# defined after running the modules (e.g. FOO_FOUND etc.).
+cmake_minimum_required(VERSION 2.8.4) # new enough for CMP0017
project(FindModulesExecuteAll)
-cmake_minimum_required(VERSION 2.7)
file(GLOB all_modules "${CMAKE_CURRENT_SOURCE_DIR}/../../Modules/Find*cmake")