cmake/Help/variable/CMAKE_FIND_PACKAGE_SORT_DIRECTION.rst

19 lines
518 B
ReStructuredText
Raw Normal View History

2016-10-30 18:24:19 +01:00
CMAKE_FIND_PACKAGE_SORT_DIRECTION
---------------------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.7
2016-10-30 18:24:19 +01:00
The sorting direction used by :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER`.
It can assume one of the following values:
``DEC``
Default. Ordering is done in descending mode.
The highest folder found will be tested first.
``ASC``
Ordering is done in ascending mode.
The lowest folder found will be tested first.
If :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER` is not set or is set to ``NONE``
this variable has no effect.