Skip to content

Commit

Permalink
boost: use clang-win toolset when compiler=Visual Studio and compiler…
Browse files Browse the repository at this point in the history
….toolset=ClangCL
  • Loading branch information
IanE9 committed Mar 8, 2021
1 parent 5716325 commit 47dc334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def _toolset_version(self):
@property
def _toolset(self):
if self._is_msvc:
return "msvc"
return "clang-win" if self.settings.compiler.toolset == "ClangCL" else "msvc"
elif self.settings.os == "Windows" and self.settings.compiler == "clang":
return "clang-win"
elif self.settings.os == "Emscripten" and self.settings.compiler == "clang":
Expand Down

0 comments on commit 47dc334

Please sign in to comment.