summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/FindRecursiveB.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-10-03 14:40:07 (GMT)
committerBrad King <brad.king@kitware.com>2008-10-03 14:40:07 (GMT)
commit79e9b7555827ba0afe6e6b7d97c81002685ef519 (patch)
tree7c81ca9aa3ac80651d782a3c1f6444cf0068e70f /Tests/FindPackageTest/FindRecursiveB.cmake
parent75f8d5aab7b94987f6da2584e70c87b00b9bce7b (diff)
downloadCMake-79e9b7555827ba0afe6e6b7d97c81002685ef519.zip
CMake-79e9b7555827ba0afe6e6b7d97c81002685ef519.tar.gz
CMake-79e9b7555827ba0afe6e6b7d97c81002685ef519.tar.bz2
ENH: Help recursive find_package calls in modules
These changes teach find_package to behave nicely when invoked recursively inside a find-module for the same package. The module will never be recursively loaded again. Version arguments are automatically forwarded.
Diffstat (limited to 'Tests/FindPackageTest/FindRecursiveB.cmake')
-rw-r--r--Tests/FindPackageTest/FindRecursiveB.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/FindRecursiveB.cmake b/Tests/FindPackageTest/FindRecursiveB.cmake
new file mode 100644
index 0000000..c609ab1
--- /dev/null
+++ b/Tests/FindPackageTest/FindRecursiveB.cmake
@@ -0,0 +1 @@
+FIND_PACKAGE(RecursiveB NAMES zot)