From 60ab58a8a50b7d4e8d9df8591ba5cc0ba3516553 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 9 Jan 2026 16:27:51 +0100 Subject: [PATCH] cmake: replace an outlier `set(var)` with `set(var, "")` For consistency with the rest of these expressions and readability. Closes #20305 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0daa102d3..e70d47563c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ if(NOT "$ENV{CURL_BUILDINFO}$ENV{CURL_CI}$ENV{CI}" STREQUAL "") get_property(_cache_var_type CACHE ${_cache_var} PROPERTY TYPE) get_property(_cache_var_value CACHE ${_cache_var} PROPERTY VALUE) if(_cache_var_type STREQUAL "UNINITIALIZED") - set(_cache_var_type) + set(_cache_var_type "") else() set(_cache_var_type ":${_cache_var_type}") endif()