mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 15:48:52 +00:00
31be918b0b
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. |
||
---|---|---|
.. | ||
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 | ||
SortLib-3.1.1 | ||
SortLib-3.10.1 | ||
SystemPackage | ||
TApp.app/Contents/Resources | ||
TFramework.framework/Versions/A/Resources | ||
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 |