aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2023-06-21 17:37:52 +1000
committerfuzzard <fuzzard@kodi.tv>2023-06-21 17:37:52 +1000
commitae07ebf308a5d1ba85ee079e67e7f7be70d70487 (patch)
tree58545af367413fdb9d261f5013278665ddeddea0 /tools/buildsteps
parentcc005c5b4e97780e765820dca016754e3c988ff6 (diff)
[windows] Dont ship vswhere
According to the docs at https://github.com/microsoft/vswhere, vswhere is shipped with Visual Studio 2017 onwards at a standard location. Use this instead of shipping a vswhere executable
Diffstat (limited to 'tools/buildsteps')
-rw-r--r--tools/buildsteps/windows/vswhere.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildsteps/windows/vswhere.bat b/tools/buildsteps/windows/vswhere.bat
index dd45859fa8..a682f7c256 100644
--- a/tools/buildsteps/windows/vswhere.bat
+++ b/tools/buildsteps/windows/vswhere.bat
@@ -35,7 +35,7 @@ IF "%arch%" NEQ "x64" (
SET vcarch=%vcarch%_%arch%
)
-SET vswhere="%builddeps%\%toolsdir%\tools\vswhere\vswhere.exe"
+SET vswhere="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
FOR /f "usebackq tokens=1* delims=" %%i in (`%vswhere% -latest -property installationPath`) do (
IF EXIST "%%i\VC\Auxiliary\Build\vcvarsall.bat" (