1CMAKE_FIND_PACKAGE_SORT_DIRECTION
2---------------------------------
3
4.. versionadded:: 3.7
5
6The sorting direction used by :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER`.
7It can assume one of the following values:
8
9``DEC``
10  Default.  Ordering is done in descending mode.
11  The highest folder found will be tested first.
12
13``ASC``
14  Ordering is done in ascending mode.
15  The lowest folder found will be tested first.
16
17If :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER` is not set or is set to ``NONE``
18this variable has no effect.
19