File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
Modules/Core/Common/include Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ endif ()
18
18
19
19
# Minimum compiler version check: Microsoft C/C++
20
20
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND
21
- CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.14 )
22
- message (FATAL_ERROR "Microsoft Visual Studio 2017 15.7 (MSVC 19.14 ) or later is required." )
21
+ CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.20 )
22
+ message (FATAL_ERROR "Microsoft Visual Studio 2019 16.0 (MSVC 19.20 ) or later is required." )
23
23
endif ()
24
24
25
25
# Minimum compiler version check: Intel C++ (ICC)
Original file line number Diff line number Diff line change 1
1
ITK requires a compiler with C++17 support.
2
2
3
3
# Visual Studio
4
- * VS2015 and earlier: ** NOT supported**
5
- * MSVC toolset v141 (first shipped with VS2017): supported from VS2017 version 15.7
4
+ * VS2017 and earlier: ** NOT supported**
6
5
* MSVC toolset v142 (first shipped with VS2019): supported
7
6
* MSVC toolset v143 (first shipped with VS2022): supported
8
7
Original file line number Diff line number Diff line change @@ -151,14 +151,11 @@ namespace itk
151
151
#endif
152
152
153
153
/*
154
- * ITK only supports MSVC++ 14.14 and greater
155
- * MSVC++ 14.14 _MSC_VER == 1914 (Visual Studio 2017 version 15.7)
156
- * MSVC++ 14.15 _MSC_VER == 1915 (Visual Studio 2017 version 15.8)
157
- * MSVC++ 14.16 _MSC_VER == 1916 (Visual Studio 2017 version 15.9)
154
+ * ITK only supports MSVC++ 14.2 and greater
158
155
* MSVC++ 14.2 _MSC_VER == 1920 (Visual Studio 2019 Version 16.0)
159
156
*/
160
- #if defined(_MSC_VER) && (_MSC_VER < 1914 )
161
- # error "MSVC version before Visual Studio 2017 version 15.7 is not supported under ITKv5.4"
157
+ #if defined(_MSC_VER) && (_MSC_VER < 1920 )
158
+ # error "MSVC versions before Visual Studio 2019 are not supported under ITKv5.4"
162
159
#endif
163
160
#if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5140)
164
161
# error "SUNPro C++ < 5.14.0 is not supported under ITKv5 and above"
You can’t perform that action at this time.
0 commit comments