• Pierluigi Taddei's avatar
    find_package: Optionally sort globbed directories in a meaningful order · 31be918b
    Pierluigi Taddei authored
    Add `CMAKE_FIND_PACKAGE_SORT_{ORDER,DIRECTION}` variables to specify
    sort order and direction.
    
    When multiple package with the same name have been found in the same
    location sorting option can be used to force a specific version to be
    loaded (e.g. libA_1.12.0 instead of libA_1.1.0).  Currently sorting by
    NAME and by NATURAL order have been implemented.
    
    Natural ordering makes use of the `strverscmp(3)` ordering.
    31be918b
Name
Last commit
Last update
..
A Loading commit data...
B Loading commit data...
Baz 1.1 Loading commit data...
Baz 1.2/CMake Loading commit data...
Baz 1.3/lib/cmake/Baz Loading commit data...
Baz 2.0/share/Baz 2 Loading commit data...
Baz 2.1/lib/Baz 2/cmake Loading commit data...
Exporter Loading commit data...
SortLib-3.1.1 Loading commit data...
SortLib-3.10.1 Loading commit data...
SystemPackage Loading commit data...
TApp.app/Contents/Resources Loading commit data...
TFramework.framework/Versions/A/Resources Loading commit data...
cmake Loading commit data...
include Loading commit data...
lib Loading commit data...
CMakeLists.txt Loading commit data...
FindLotsOfComponents.cmake Loading commit data...
FindPackageHandleStandardArgs.cmake Loading commit data...
FindPackageTest.cxx Loading commit data...
FindRecursiveA.cmake Loading commit data...
FindRecursiveB.cmake Loading commit data...
FindRecursiveC.cmake Loading commit data...
FindSomePackage.cmake Loading commit data...
FindUpperCasePackage.cmake Loading commit data...
FindVersionTestA.cmake Loading commit data...
FindVersionTestB.cmake Loading commit data...
FindVersionTestC.cmake Loading commit data...
FindVersionTestD.cmake Loading commit data...
RelocatableConfig.cmake.in Loading commit data...