Skip to content

Commit 2335e76

Browse files
authored
build: gating osquery build hosts to VS 2015 builds (osquery#4762)
1 parent 37e5c9f commit 2335e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (-not (Test-Path $utils)) {
1919
function Invoke-OsqueryCmake {
2020
$vsinfo = Get-VSInfo
2121
$cmake = (Get-Command 'cmake').Source
22-
if ($vsinfo.version -eq '15'){
22+
if ($vsinfo.version -eq '15' -and -not (Test-Path env:OSQUERY_BUILD_HOST)){
2323
$cmakeArgs = @(
2424
'-G "Visual Studio 15 2017 Win64"',
2525
'-T v141'

0 commit comments

Comments
 (0)