mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
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
This commit is contained in:
@@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user