diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-03-10 11:18:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-13 20:56:52 (GMT) |
commit | 56ae3f94129aebd03af6778895a322a86dc9db77 (patch) | |
tree | f54c46d31e72e77e49d398c7be8ccaaec0e332a9 /Tests/FindPackageTest/cmake | |
parent | 16c0c7376c4ab26a4f0ec667f5888ba746a0617e (diff) | |
download | CMake-56ae3f94129aebd03af6778895a322a86dc9db77.zip CMake-56ae3f94129aebd03af6778895a322a86dc9db77.tar.gz CMake-56ae3f94129aebd03af6778895a322a86dc9db77.tar.bz2 |
find_package: add test for setting Foo_FOUND to FALSE in a Config file
Alex
Diffstat (limited to 'Tests/FindPackageTest/cmake')
-rw-r--r-- | Tests/FindPackageTest/cmake/SetFoundFALSEConfig.cmake | 1 | ||||
-rw-r--r-- | Tests/FindPackageTest/cmake/SetFoundTRUEConfig.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/cmake/SetFoundFALSEConfig.cmake b/Tests/FindPackageTest/cmake/SetFoundFALSEConfig.cmake new file mode 100644 index 0000000..ae6bd14 --- /dev/null +++ b/Tests/FindPackageTest/cmake/SetFoundFALSEConfig.cmake @@ -0,0 +1 @@ +set(SetFoundFALSE_FOUND FALSE) diff --git a/Tests/FindPackageTest/cmake/SetFoundTRUEConfig.cmake b/Tests/FindPackageTest/cmake/SetFoundTRUEConfig.cmake new file mode 100644 index 0000000..19d0711 --- /dev/null +++ b/Tests/FindPackageTest/cmake/SetFoundTRUEConfig.cmake @@ -0,0 +1 @@ +set(SetFoundTRUE_FOUND TRUE) |