Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
fix msvc 2019 toolset
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed Sep 18, 2020
1 parent edfe817 commit 61a3fa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ def _build_msvc(self):
if not toolset:
toolset = {'12': 'v120',
'14': 'v140',
'15': 'v141'}.get(str(self.settings.compiler.version))
'15': 'v141',
'16': 'v142'}.get(str(self.settings.compiler.version))
tools.replace_in_file('configure.vcxproj',
'<PlatformToolset>v120</PlatformToolset>',
'<PlatformToolset>%s</PlatformToolset>' % toolset)
Expand Down

0 comments on commit 61a3fa1

Please sign in to comment.