Skip to content

Commit ab65119

Browse files
committed
Revert "[RSDK-10385] Permit builds with VS 2019 16.10+"
This reverts commit 5c314f3.
1 parent 5c314f3 commit ab65119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ if (VIAMCPPSDK_ENFORCE_COMPILER_MINIMA)
158158
message(FATAL_ERROR "Insufficient Apple clang version: XCode 10.0+ required")
159159
endif()
160160
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
161-
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.29)
162-
message(FATAL_ERROR "Insufficient MSVC version: Visual Studio 2019 16.10 (MSVC 19.29) or later is required")
161+
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.34)
162+
message(FATAL_ERROR "Insufficient MSVC version: Visual Studio 2022 17.4 (MSVC 19.34) or later is required")
163163
endif()
164164
else()
165165
message(FATAL_ERROR "Unknown / untested compiler ${CMAKE_CXX_COMPILER_ID}")

0 commit comments

Comments
 (0)