mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[vcpkg] Enable major version greater than 15
This commit is contained in:
parent
ea843854df
commit
105622619d
@ -170,7 +170,7 @@ namespace vcpkg::VisualStudio
|
||||
for (const VisualStudioInstance& vs_instance : sorted)
|
||||
{
|
||||
const std::string major_version = vs_instance.major_version();
|
||||
if (major_version == "15")
|
||||
if (major_version >= "15")
|
||||
{
|
||||
const fs::path vc_dir = vs_instance.root_path / "VC";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user