From 4fb5c916fdb449b5dbd4f39912049f305ebef33b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 5 Feb 2026 12:15:07 +0100 Subject: [PATCH] cmake: use `list(APPEND ...)` where missing Cherry-picked from #20407 Closes #20522 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()