Set linker explicitly

This commit is contained in:
Roelf-Jilling 2018-11-15 19:34:57 +01:00
parent f810ce74f3
commit 24604619ab

View File

@ -67,7 +67,7 @@ before_build:
echo generator="$env:generator" echo generator="$env:generator"
if ("$env:USE_TOOLSET=" -match "LLVM") { if ("$env:USE_TOOLSET=" -match "LLVM") {
clang-cl --version clang-cl --version
cmake .. -G "$env:generator" -T llvm -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD" -DCMAKE_CXX_COMPILER="clang-cl" cmake .. -G "$env:generator" -T llvm -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_LINKER=lld-link
} }
else { else {
cmake .. -G "$env:generator" -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD" cmake .. -G "$env:generator" -DGSL_CXX_STANDARD="$env:GSL_CXX_STANDARD"