Workaround: fix, escape backslashes

This commit is contained in:
Roelf-Jilling 2018-11-16 17:06:58 +01:00
parent 97062933ac
commit bda3d6a428

View File

@ -57,7 +57,7 @@ before_build:
} }
echo generator="$env:generator" echo generator="$env:generator"
if ($env:USE_TOOLSET -eq "LLVM") { if ($env:USE_TOOLSET -eq "LLVM") {
$COMPILER = "C:\Program Files\LLVM\bin\clang-cl.exe" $COMPILER = "C:\\Program Files\\LLVM\\bin\\clang-cl.exe"
$LINKER = "lld-link" $LINKER = "lld-link"
# Workaround for lld bug with vcpkg integration # Workaround for lld bug with vcpkg integration
if ((Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020) { if ((Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020) {