Browse Source

toolset optional: -p:CMakeVSToolset="-A v141"

c6burns 6 years ago
parent
commit
0157b75442
1 changed files with 0 additions and 2 deletions
  1. 0 2
      MSBuild/CMake/CMake.Build.targets

+ 0 - 2
MSBuild/CMake/CMake.Build.targets

@@ -35,8 +35,6 @@ SOFTWARE.
     <PropertyGroup Condition="'$(OSPlatformWindows)' == 'true'">
         <CMakeVSArch></CMakeVSArch>
         <CMakeVSArch Condition="'$(Platform)' == 'x86'">-A Win32</CMakeVSArch>
-        <CMakeVSToolset></CMakeVSToolset>
-        <CMakeVSToolset Condition="'$(BuildingInsideVisualStudio)' != 'true'">-T v141</CMakeVSToolset>
         <CMakeGenerator>-G"Visual Studio 16 2019" $(CMakeVSArch) $(CMakeVSToolset)</CMakeGenerator>
     </PropertyGroup>
     <PropertyGroup Condition="'$(OSPlatformWindows)' != 'true'">