CMake/Tests/RunCMake/find_dependency
Matthew Woehlke ab358d6a85 Improve find_dependency argument handling
Remove highly specialized and totally positional argument handling in
find_dependency macro, and instead just pass arguments through to
find_package. This gives users access to the full suite of arguments
that find_package knows, and is backward compatible with the old
arguments.

Also, rewrite the unit tests for this, since the old tests are
exclusively focused on testing the old argument handling and are no
longer applicable, and add some success tests (the old tests did not
even set up the CMake state in a way that CMake had any hope of ever
finding the test package).
2017-05-22 13:32:43 -04:00
..
share/cmake Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
bad-version-exact-result.txt Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
bad-version-exact-stderr.txt Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
bad-version-exact.cmake Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
bad-version-fuzzy-result.txt Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
bad-version-fuzzy-stderr.txt Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
bad-version-fuzzy.cmake Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
basic.cmake Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
CMakeLists.txt Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
invalid-arg-result.txt Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
invalid-arg-stderr.txt Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
invalid-arg.cmake Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
realistic.cmake Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00
RunCMakeTest.cmake Improve find_dependency argument handling 2017-05-22 13:32:43 -04:00