(WIN32 AND HAVE_WIN32_WINNT GREATER_EQUAL 0x600))
_add_if("PSL" USE_LIBPSL)
if(_items)
- list(SORT _items)
+ if(NOT CMAKE_VERSION VERSION_LESS 3.13)
+ list(SORT _items CASE INSENSITIVE)
+ else()
+ list(SORT _items)
+ endif()
endif()
string(REPLACE ";" " " SUPPORT_FEATURES "${_items}")
message(STATUS "Enabled features: ${SUPPORT_FEATURES}")
list(SORT _items)
endif()
string(REPLACE ";" " " SUPPORT_PROTOCOLS "${_items}")
- message(STATUS "Enabled protocols: ${SUPPORT_PROTOCOLS}")
+ string(TOLOWER "${SUPPORT_PROTOCOLS}" SUPPORT_PROTOCOLS_LOWER)
+ message(STATUS "Enabled protocols: ${SUPPORT_PROTOCOLS_LOWER}")
# Clear list and collect SSL backends
set(_items)