vcpkg/ports/curl/redact-input-vars.diff

14 lines
454 B
Diff
Raw Normal View History

2024-11-11 09:32:33 +01:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c4ba74d..0e8d45f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,7 +59,7 @@ foreach(_cache_var ${_cache_vars})
else()
set(_cache_var_type ":${_cache_var_type}")
endif()
- set(_cmake_args "${_cmake_args} -D${_cache_var}${_cache_var_type}=\"${${_cache_var}}\"")
+ set(_cmake_args "${_cmake_args} -D${_cache_var}${_cache_var_type}=\"<redacted>\"")
endif()
endforeach()