From 02b7d278c8cf9ec3012289fcbc673b908b920c89 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 6 Oct 2016 16:43:50 -0400 Subject: [PATCH] VS: Update VS 15 generator for Preview 5 The `PlatformToolset` is now `v141` instead of `v140`. Closes: #16347 --- Help/release/3.7.rst | 2 +- Source/cmGlobalVisualStudio15Generator.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Help/release/3.7.rst b/Help/release/3.7.rst index f02b62db9..d8141ca91 100644 --- a/Help/release/3.7.rst +++ b/Help/release/3.7.rst @@ -32,7 +32,7 @@ Generators with :ref:`Makefile Generators`. * The :generator:`Visual Studio 15` generator was added. This is - experimental and based on Preview 4 because this version of VS + experimental and based on Preview 5 because this version of VS has not been released. * :ref:`Visual Studio Generators` for VS 2010 and above learned to diff --git a/Source/cmGlobalVisualStudio15Generator.cxx b/Source/cmGlobalVisualStudio15Generator.cxx index 4d62f2b3a..a833a5f75 100644 --- a/Source/cmGlobalVisualStudio15Generator.cxx +++ b/Source/cmGlobalVisualStudio15Generator.cxx @@ -79,7 +79,7 @@ cmGlobalVisualStudio15Generator::cmGlobalVisualStudio15Generator( "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\15.0\\Setup\\VC;" "ProductDir", vc15Express, cmSystemTools::KeyWOW64_32); - this->DefaultPlatformToolset = "v140"; + this->DefaultPlatformToolset = "v141"; this->Version = VS15; }