From 0f26abeef1dd1d1a02f8e12dbc3d51e73e9d2e9c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 30 Jun 2024 00:26:49 +0200 Subject: [PATCH] cmake: alpha-sort feature list Like autotools does. Closes #14063 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a4e8c201a..89e758a815 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1682,6 +1682,9 @@ if(NOT CURL_DISABLE_INSTALL) (USE_THREADS_POSIX AND HAVE_PTHREAD_H) OR (WIN32 AND HAVE_WIN32_WINNT GREATER_EQUAL 0x600)) _add_if("PSL" USE_LIBPSL) + if(_items) + list(SORT _items) + endif() string(REPLACE ";" " " SUPPORT_FEATURES "${_items}") message(STATUS "Enabled features: ${SUPPORT_FEATURES}") -- 2.47.3