Skip to content

Commit

Permalink
cmake: support Visual Studio 17 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
thorbenk committed Aug 2, 2021
1 parent 916cb10 commit dffd317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conans/client/build/cmake_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def get_generator(conanfile):
'12': '12 2013',
'14': '14 2015',
'15': '15 2017',
'16': '16 2019'}.get(major_version, "UnknownVersion %s" % version)
'16': '16 2019',
'17': '17 2022'}.get(major_version, "UnknownVersion %s" % version)
base = "Visual Studio %s" % _visuals
return base

Expand Down

0 comments on commit dffd317

Please sign in to comment.