mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Allow users to provide a custom comparison function for `list(SORT)`. The comparator is validated for strict weak ordering at runtime to produce a clear CMake error rather than a platform-dependent abort. Closes: #27761
6 lines
231 B
Plaintext
6 lines
231 B
Plaintext
^CMake Error at SORT-COMPARATOR-NoOutput\.cmake:6 \(list\):
|
|
list sub-command SORT, COMPARATOR: function "bad_comparator" did not set
|
|
the output variable\.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:3 \(include\)$
|