We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a9da32 commit 6af10e0Copy full SHA for 6af10e0
build.ps1
@@ -325,8 +325,11 @@ try
325
rm -r CMakeFiles -ErrorAction:SilentlyContinue
326
Write-Diagnostic "Running cmake"
327
$cmake_path = "cmake.exe";
328
- if ($env:ChocolateyInstall -And (Test-Path ($env:ChocolateyInstall + "\" + $cmake_path) )){
329
- $cmake_path = $env:ChocolateyInstall + "\" + $cmake_path;
+ if ($env:ChocolateyInstall -And (Test-Path ($env:ChocolateyInstall + "\bin\" + $cmake_path)))
+ {
330
+ $cmake_path = $env:ChocolateyInstall + "\bin\" + $cmake_path;
331
+
332
+ &"$cmake_path" --version
333
}
334
&"$cmake_path" -LAH -G "$CmakeGenerator$CmakeArch" -DUSE_SANDBOX=Off -DCEF_RUNTIME_LIBRARY_FLAG=/MD .
335
@@ -759,4 +762,4 @@ try
759
762
catch
760
763
{
761
764
WriteException $_;
-}
765
+}
0 commit comments