summaryrefslogtreecommitdiffstats
path: root/Tests/FindModulesExecuteAll
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-21 13:23:11 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-21 14:11:10 (GMT)
commit1a2ede17643e7696aaad0dc2d6027f2049d4e06e (patch)
tree57000976cf54f9f4f651ab5eb53920a130aeb532 /Tests/FindModulesExecuteAll
parenta6a0cfb24d637063bdb1c8e9e8ceb78cac3f90ac (diff)
downloadCMake-1a2ede17643e7696aaad0dc2d6027f2049d4e06e.zip
CMake-1a2ede17643e7696aaad0dc2d6027f2049d4e06e.tar.gz
CMake-1a2ede17643e7696aaad0dc2d6027f2049d4e06e.tar.bz2
Tests: Fix FindModulesExecuteAll when KDE4 is installed
Set `CMP0017` to `NEW` so that when FindKDE4 sets `CMAKE_MODULE_PATH` it does not break internal dependencies of other find modules. Fixes: #16823
Diffstat (limited to 'Tests/FindModulesExecuteAll')
-rw-r--r--Tests/FindModulesExecuteAll/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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")