Add path to clang-cl.exe (#741)

This commit is contained in:
Roelf-Jilling 2018-11-13 23:52:02 +01:00
parent 1a15d747de
commit e09dfe90dd

View File

@ -56,7 +56,7 @@ before_build:
} }
echo generator="$env:generator" echo generator="$env:generator"
if ("$env:USE_TOOLSET=" -match "clang-cl") { if ("$env:USE_TOOLSET=" -match "clang-cl") {
cmake .. -G "$env:generator" -T llvm -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD" 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 { else {
cmake .. -G "$env:generator" -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD" cmake .. -G "$env:generator" -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD"