CMake/Tests/FindPackageTest
Matthew Woehlke 630e4a12a3 Help: Fix find_package search order w.r.t. globs
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.
2024-10-23 12:46:07 -04:00
..
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 Tests: Update cmake_minimum_required versions to 3.10 2024-10-03 14:18:16 -04:00
include
lib Help: Fix find_package search order w.r.t. globs 2024-10-23 12:46:07 -04:00
PreferConfig
PreferConfigOnlyModule
PreferConfigRecurse
SortLib-3.1.1
SortLib-3.10.1
SystemPackage
TApp.app/Contents/Resources
TFramework.framework/Versions/A/Resources
.gitignore
CMakeLists.txt Help: Fix find_package search order w.r.t. globs 2024-10-23 12:46:07 -04:00
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