File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 324324 rm CMakeCache.txt - ErrorAction:SilentlyContinue
325325 rm - r CMakeFiles - ErrorAction:SilentlyContinue
326326 Write-Diagnostic " Running cmake"
327- & " $ ( $env: ChocolateyInstall ) \bin\cmake.exe" -- version
328- & " $ ( $env: ChocolateyInstall ) \bin\cmake.exe" - LAH - G " $CmakeGenerator$CmakeArch " - DUSE_SANDBOX= Off - DCEF_RUNTIME_LIBRARY_FLAG=/ MD .
327+ $cmake_path = " cmake.exe" ;
328+ if ($env: ChocolateyInstall -And (Test-Path ($env: ChocolateyInstall + " \" + $cmake_path ) )){
329+ $cmake_path = $env: ChocolateyInstall + " \" + $cmake_path ;
330+ }
331+ & " $cmake_path " - LAH - G " $CmakeGenerator$CmakeArch " - DUSE_SANDBOX= Off - DCEF_RUNTIME_LIBRARY_FLAG=/ MD .
332+
329333 popd
330334 $env: CEFSHARP_BUILD_IS_BOOTSTRAPPED = " $Toolchain$Platform "
331335 }
You can’t perform that action at this time.
0 commit comments