summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-03-13 20:19:56 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-13 20:56:52 (GMT)
commit0cf84472d7bf7c62b4f7db5052765cb88ec29eef (patch)
treed993925cc33d5fe8122fecea94d22c7caad45d23 /Tests/RunCMake/find_package/RunCMakeTest.cmake
parent56ae3f94129aebd03af6778895a322a86dc9db77 (diff)
downloadCMake-0cf84472d7bf7c62b4f7db5052765cb88ec29eef.zip
CMake-0cf84472d7bf7c62b4f7db5052765cb88ec29eef.tar.gz
CMake-0cf84472d7bf7c62b4f7db5052765cb88ec29eef.tar.bz2
find_package: additional test for checking the error message
This patch adds a test which checks the error message, which is produced in the case that a Config file has set Foo_FOUND to FALSE by itself. Alex
Diffstat (limited to 'Tests/RunCMake/find_package/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/find_package/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/RunCMakeTest.cmake b/Tests/RunCMake/find_package/RunCMakeTest.cmake
index ba57f99..34fa733 100644
--- a/Tests/RunCMake/find_package/RunCMakeTest.cmake
+++ b/Tests/RunCMake/find_package/RunCMakeTest.cmake
@@ -12,3 +12,4 @@ run_cmake(MissingConfigOneName)
run_cmake(MissingConfigRequired)
run_cmake(MissingConfigVersion)
run_cmake(MixedModeOptions)
+run_cmake(SetFoundFALSE)