cmake: alpha-sort feature list

Like autotools does.

Closes #14063
This commit is contained in:
Viktor Szakats 2024-06-30 00:26:49 +02:00
parent 93a28232d3
commit 0f26abeef1
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -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}")