diff options
author | Brad King <brad.king@kitware.com> | 2011-03-31 17:22:54 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-03-31 17:22:54 (GMT) |
commit | 0506e37499929e3c6797328f3dc9b9b46e89aef4 (patch) | |
tree | 3fa6b5c3d65167cc7a47d3e2c1196c4ef004f126 /Tests/CMakeLists.txt | |
parent | 3c7c1f07a0f0ed208efff80769bf87724f1f9210 (diff) | |
parent | a4335a621eabd74645dfdb6b0c731a6d354fcd30 (diff) | |
download | CMake-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/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
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} |