Merge pull request #25632 from bebuch:patch-1

Support VS 2022 17.1x.y
pull/25636/head
Alexander Smorkalov 8 months ago committed by GitHub
commit f5793d26b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cmake/templates/OpenCVConfig.root-WIN32.cmake.in

@ -137,7 +137,7 @@ elseif(MSVC)
set(OpenCV_RUNTIME vc14) # selecting previous compatible runtime version set(OpenCV_RUNTIME vc14) # selecting previous compatible runtime version
endif() endif()
endif() endif()
elseif(MSVC_VERSION MATCHES "^193[0-9]$") elseif(MSVC_VERSION MATCHES "^19[34][0-9]$")
set(OpenCV_RUNTIME vc17) set(OpenCV_RUNTIME vc17)
check_one_config(has_VS2022) check_one_config(has_VS2022)
if(NOT has_VS2022) if(NOT has_VS2022)

Loading…
Cancel
Save