Added VS2017 support (MSVC 1910)

pull/7809/head
Patrik Huber 8 years ago committed by Alexander Alekhin
parent 3d8395cae9
commit c6af179afc
  1. 2
      cmake/OpenCVConfig.cmake
  2. 2
      cmake/OpenCVDetectCXXCompiler.cmake

@ -81,6 +81,8 @@ if(MSVC)
set(OpenCV_RUNTIME vc12)
elseif(MSVC_VERSION EQUAL 1900)
set(OpenCV_RUNTIME vc14)
elseif(MSVC_VERSION EQUAL 1910)
set(OpenCV_RUNTIME vc15)
endif()
elseif(MINGW)
set(OpenCV_RUNTIME mingw)

@ -138,6 +138,8 @@ if(MSVC)
set(OpenCV_RUNTIME vc12)
elseif(MSVC_VERSION EQUAL 1900)
set(OpenCV_RUNTIME vc14)
elseif(MSVC_VERSION EQUAL 1910)
set(OpenCV_RUNTIME vc15)
endif()
elseif(MINGW)
set(OpenCV_RUNTIME mingw)

Loading…
Cancel
Save