Escape backslash in path (#741)

This commit is contained in:
Roelf-Jilling 2018-11-14 00:07:22 +01:00
parent e09dfe90dd
commit 6c796869a3

View File

@ -56,7 +56,7 @@ before_build:
}
echo generator="$env:generator"
if ("$env:USE_TOOLSET=" -match "clang-cl") {
cmake .. -G "$env:generator" -T llvm -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD" -DCMAKE_CXX_COMPILER="C:\Program Files\LLVM\bin\clang-cl.exe"
cmake .. -G "$env:generator" -T llvm -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD" -DCMAKE_CXX_COMPILER="C:\\Program Files\\LLVM\\bin\\clang-cl.exe"
}
else {
cmake .. -G "$env:generator" -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD"