summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-03-31 17:22:54 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-03-31 17:22:54 (GMT)
commit0506e37499929e3c6797328f3dc9b9b46e89aef4 (patch)
tree3fa6b5c3d65167cc7a47d3e2c1196c4ef004f126 /Tests
parent3c7c1f07a0f0ed208efff80769bf87724f1f9210 (diff)
parenta4335a621eabd74645dfdb6b0c731a6d354fcd30 (diff)
downloadCMake-0506e37499929e3c6797328f3dc9b9b46e89aef4.zip
CMake-0506e37499929e3c6797328f3dc9b9b46e89aef4.tar.gz
CMake-0506e37499929e3c6797328f3dc9b9b46e89aef4.tar.bz2
Merge topic 'cleanup-unused-variable-check'
a4335a6 Fix unused cache warning after multiple configure iterations a75ebe3 Refine unused cache variable warning
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 016b213..6265f81 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1244,7 +1244,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project WarnUnusedCliUnused
--build-options "-DUNUSED_CLI_VARIABLE=Unused")
SET_TESTS_PROPERTIES(WarnUnusedCliUnused PROPERTIES
- PASS_REGULAR_EXPRESSION "CMake Warning: The variable, 'UNUSED_CLI_VARIABLE'")
+ PASS_REGULAR_EXPRESSION "CMake Warning:.*Manually-specified variables were not used by the project:.* UNUSED_CLI_VARIABLE")
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedCliUnused")
ADD_TEST(WarnUnusedCliUsed ${CMAKE_CTEST_COMMAND}