From: Viktor Szakats Date: Fri, 9 Jan 2026 15:27:51 +0000 (+0100) Subject: cmake: replace an outlier `set(var)` with `set(var, "")` X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60ab58a8a50b7d4e8d9df8591ba5cc0ba3516553;p=thirdparty%2Fcurl.git cmake: replace an outlier `set(var)` with `set(var, "")` For consistency with the rest of these expressions and readability. Closes #20305 --- 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()