From 70df1c2f6ce376954e410735bcd7bdc0492af202 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Wed, 1 Feb 2017 11:01:47 -0800 Subject: [PATCH] Update the required toolset workaround to Visual Studio 2017 Summary: It will be the minimum supported compiler for HHVM. Reviewed By: aorenste Differential Revision: D4492304 fbshipit-source-id: 2f5e5403c842a80dabf4eb2f502eade441d0a46c --- CMake/VisualStudioToolset.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMake/VisualStudioToolset.cmake b/CMake/VisualStudioToolset.cmake index 3b8901bfd1b..1eab533c7e7 100644 --- a/CMake/VisualStudioToolset.cmake +++ b/CMake/VisualStudioToolset.cmake @@ -14,6 +14,6 @@ # needs to be set before the languages are enabled in order to have any effect, so we set it # based directly off of the name of the generator, which is set before configuration even begins. -if ("${CMAKE_GENERATOR}" STREQUAL "Visual Studio 14 2015 Win64") - set(CMAKE_GENERATOR_TOOLSET "v140x64v140") +if ("${CMAKE_GENERATOR}" STREQUAL "Visual Studio 15( 2017)? Win64") + set(CMAKE_GENERATOR_TOOLSET "v141x64v141") endif() -- 2.11.4.GIT