]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: replace an outlier `set(var)` with `set(var, "")`
authorViktor Szakats <commit@vsz.me>
Fri, 9 Jan 2026 15:27:51 +0000 (16:27 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 13 Jan 2026 23:55:05 +0000 (00:55 +0100)
For consistency with the rest of these expressions and readability.

Closes #20305

CMakeLists.txt

index b0daa102d3658252dc3202c3822211f472f56add..e70d47563c71cd515336a4952357817d00c59d92 100644 (file)
@@ -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()