Skip to content

Commit

Permalink
Correctly determine VS16 by setting lower boundary in vswhere (#7543)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie authored Jun 22, 2021
1 parent 28a6403 commit f925a9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<_CMakeMultiConfigurationGenerator>true</_CMakeMultiConfigurationGenerator>
<_CMakePassArchitectureToGenerator>true</_CMakePassArchitectureToGenerator>
<!-- We limit the VS version range for the generator since CMake only knows about specific VS versions -->
<VSGeneratorVersionRange Condition="'$(VSGeneratorVersionRange)' == ''">[,17.0)</VSGeneratorVersionRange>
<VSGeneratorVersionRange Condition="'$(VSGeneratorVersionRange)' == ''">[15,17.0)</VSGeneratorVersionRange>
<!-- Visual Studio uses the Win32 name for the x86 target architecture. -->
<Platform Condition="'$(Platform)' == 'x86'">Win32</Platform>
</PropertyGroup>
Expand Down

0 comments on commit f925a9e

Please sign in to comment.