cmake: replace an outlier set(var) with set(var, "")

For consistency with the rest of these expressions and readability.

Closes #20305
This commit is contained in:
Viktor Szakats
2026-01-09 16:27:51 +01:00
parent 7d9004ee47
commit 60ab58a8a5

View 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()