cmake: use list(APPEND ...) where missing

Cherry-picked from #20407

Closes #20522
This commit is contained in:
Viktor Szakats 2026-02-05 12:15:07 +01:00
parent fa9318cabf
commit 4fb5c916fd
No known key found for this signature in database

View file

@ -1920,7 +1920,7 @@ endif()
macro(curl_add_if _label)
# Needs to be a macro to allow this indirection
if(${ARGN})
set(_items ${_items} "${_label}")
list(APPEND _items "${_label}")
endif()
endmacro()