diff --git a/CMake/vtkCompilerChecks.cmake b/CMake/vtkCompilerChecks.cmake index 90a7be353ae1ff20c1352b8cbd022f194724ed74..51b43570dcc64718d1952c7ca98757fbf50deb99 100644 --- a/CMake/vtkCompilerChecks.cmake +++ b/CMake/vtkCompilerChecks.cmake @@ -17,9 +17,14 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" AND endif () # Minimum compiler version check: Microsoft C/C++ >= 18.0 (aka VS 2013 aka VS 12.0) -if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND - CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0) - message(FATAL_ERROR "Microsoft Visual Studio 2013 or later is required.") +if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0) + message(FATAL_ERROR "Microsoft Visual Studio 2015 or later is required.") + else() + if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.0) + message(DEPRECATION "Microsoft Visual Studio 2013 is deprecated in VTK 8.2.0.") + endif() + endif() endif () # Minimum compiler version check: Intel C++ (ICC) >= 14 diff --git a/README.md b/README.md index 5b34a1e4edd82ed9983546166e2acaed1541244e..53b2d0aff54bca588bceaeeb3ba6e30c2350dd1c 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Requirements In general VTK tries to be as portable as possible; the specific configurations below are known to work and tested. VTK supports the following C++11 compilers: -1. Microsoft Visual Studio 2013 or newer +1. Microsoft Visual Studio 2015 or newer 2. gcc 4.8.3 or newer 3. Clang 3.3 or newer 4. Apple Clang 5.0 (from Xcode 5.0) or newer