diff options
author | Brad King <brad.king@kitware.com> | 2008-10-03 10:40:07 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-10-03 10:40:07 -0400 |
commit | 79e9b7555827ba0afe6e6b7d97c81002685ef519 (patch) | |
tree | 7c81ca9aa3ac80651d782a3c1f6444cf0068e70f /Tests/FindPackageTest/FindRecursiveC.cmake | |
parent | 75f8d5aab7b94987f6da2584e70c87b00b9bce7b (diff) | |
download | cmake-79e9b7555827ba0afe6e6b7d97c81002685ef519.tar.gz |
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/FindRecursiveC.cmake')
-rw-r--r-- | Tests/FindPackageTest/FindRecursiveC.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/FindRecursiveC.cmake b/Tests/FindPackageTest/FindRecursiveC.cmake new file mode 100644 index 0000000000..018cc73020 --- /dev/null +++ b/Tests/FindPackageTest/FindRecursiveC.cmake @@ -0,0 +1 @@ +FIND_PACKAGE(RecursiveC NAMES zot) |