mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 19:08:07 +08:00
Merge topic 'fix-test-all-find-modules'
cda401fe
Tests: Simplify CMakeOnly.AllFindModules policy settings1a2ede17
Tests: Fix FindModulesExecuteAll when KDE4 is installed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !736
This commit is contained in:
@@ -1,10 +1,6 @@
|
|||||||
cmake_minimum_required (VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8.4) # new enough for CMP0017
|
||||||
project(AllFindModules)
|
project(AllFindModules)
|
||||||
|
|
||||||
if (POLICY CMP0017)
|
|
||||||
cmake_policy(SET CMP0017 NEW)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
# Avoid ctest truncation of output
|
# Avoid ctest truncation of output
|
||||||
message(STATUS "CTEST_FULL_OUTPUT")
|
message(STATUS "CTEST_FULL_OUTPUT")
|
||||||
|
|
||||||
|
@@ -6,8 +6,8 @@
|
|||||||
#
|
#
|
||||||
# I guess more things could be added, like checking whether variables are
|
# I guess more things could be added, like checking whether variables are
|
||||||
# defined after running the modules (e.g. FOO_FOUND etc.).
|
# defined after running the modules (e.g. FOO_FOUND etc.).
|
||||||
|
cmake_minimum_required(VERSION 2.8.4) # new enough for CMP0017
|
||||||
project(FindModulesExecuteAll)
|
project(FindModulesExecuteAll)
|
||||||
cmake_minimum_required(VERSION 2.7)
|
|
||||||
|
|
||||||
file(GLOB all_modules "${CMAKE_CURRENT_SOURCE_DIR}/../../Modules/Find*cmake")
|
file(GLOB all_modules "${CMAKE_CURRENT_SOURCE_DIR}/../../Modules/Find*cmake")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user