• Matthew Woehlke's avatar
    Improve find_dependency argument handling · ab358d6a
    Matthew Woehlke authored
    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).
    ab358d6a
Name
Last commit
Last update
..
share/cmake Loading commit data...
CMakeLists.txt Loading commit data...
RunCMakeTest.cmake Loading commit data...
bad-version-exact-result.txt Loading commit data...
bad-version-exact-stderr.txt Loading commit data...
bad-version-exact.cmake Loading commit data...
bad-version-fuzzy-result.txt Loading commit data...
bad-version-fuzzy-stderr.txt Loading commit data...
bad-version-fuzzy.cmake Loading commit data...
basic.cmake Loading commit data...
invalid-arg-result.txt Loading commit data...
invalid-arg-stderr.txt Loading commit data...
invalid-arg.cmake Loading commit data...
realistic.cmake Loading commit data...