From: Viktor Szakats Date: Thu, 5 Feb 2026 11:15:07 +0000 (+0100) Subject: cmake: use `list(APPEND ...)` where missing X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fb5c916fdb449b5dbd4f39912049f305ebef33b;p=thirdparty%2Fcurl.git cmake: use `list(APPEND ...)` where missing Cherry-picked from #20407 Closes #20522 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6663919851..14dcc955de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()