![]() Add documentation to clarify that `find_package` searches paths in the specified order and stops at the first match. Clarify documentation of `CMAKE_FIND_PACKAGE_SORT_*` to match the actual behavior. Note that no behavior is actually changed, this merely improves the documentation to reflect actual behavior rather than seeming to imply something else. Also, update the test to verify that what we claim in the updated documentation is what's actually happening. |
||
---|---|---|
.. | ||
A | ||
B | ||
Baz 1.1 | ||
Baz 1.2/CMake | ||
Baz 1.3/lib/cmake/Baz | ||
Baz 2.0/share/Baz 2 | ||
Baz 2.1/lib/Baz 2/cmake | ||
cmake | ||
Exporter | ||
include | ||
lib | ||
PreferConfig | ||
PreferConfigOnlyModule | ||
PreferConfigRecurse | ||
SortLib-3.1.1 | ||
SortLib-3.10.1 | ||
SystemPackage | ||
TApp.app/Contents/Resources | ||
TFramework.framework/Versions/A/Resources | ||
.gitignore | ||
CMakeLists.txt | ||
FindLotsOfComponents.cmake | ||
FindPackageHandleStandardArgs.cmake | ||
FindPackageTest.cxx | ||
FindRecursiveA.cmake | ||
FindRecursiveB.cmake | ||
FindRecursiveC.cmake | ||
FindSomePackage.cmake | ||
FindUpperCasePackage.cmake | ||
FindVersionTestA.cmake | ||
FindVersionTestB.cmake | ||
FindVersionTestC.cmake | ||
FindVersionTestD.cmake | ||
RelocatableConfig.cmake.in |