Files
cmake/Tests/RunCMake/list/SORT-COMPARATOR-NoOutput-stderr.txt
Mickaël Germain 3dc32ac62b list(SORT): Add COMPARATOR option for user-defined comparisons
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
2026-05-06 15:09:06 -04:00

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\)$