Merge pull request #25638 from bebuch:patch-2

Support VS 2022 17.1x.y in OpenCVDetectCXXCompiler.cmake
pull/25649/head
Alexander Smorkalov 8 months ago committed by GitHub
commit f17b122512
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cmake/OpenCVDetectCXXCompiler.cmake

@ -176,7 +176,7 @@ elseif(MSVC)
set(OpenCV_RUNTIME vc15)
elseif(MSVC_VERSION MATCHES "^192[0-9]$")
set(OpenCV_RUNTIME vc16)
elseif(MSVC_VERSION MATCHES "^193[0-9]$")
elseif(MSVC_VERSION MATCHES "^19[34][0-9]$")
set(OpenCV_RUNTIME vc17)
else()
message(WARNING "OpenCV does not recognize MSVC_VERSION \"${MSVC_VERSION}\". Cannot set OpenCV_RUNTIME")

Loading…
Cancel
Save