[HOST-TOOLS] Block sending telemetry when spawning a new shell

This commit is contained in:
Mark Jansen 2021-06-06 00:43:05 +02:00
parent fccea84dd4
commit 64d3a54de9
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -52,6 +52,7 @@ function(setup_host_tools)
set(HOST_TOOLS_CMAKE_COMMAND "${REACTOS_BINARY_DIR}/host-tools/cmake_shim.cmd")
if(MSVC_VERSION EQUAL 1900)
file(WRITE ${HOST_TOOLS_CMAKE_COMMAND}
"set VSCMD_SKIP_SENDTELEMETRY=1\n"
"@call \"$ENV{VCINSTALLDIR}\\vcvarsall.bat\" ${VCVARSALL_ARCH}\n"
"\"${CMAKE_COMMAND}\" %*"
)