Added VS2017 support (MSVC 1910)

This commit is contained in:
Patrik Huber 2016-12-06 00:04:24 +00:00 committed by Alexander Alekhin
parent 3d8395cae9
commit c6af179afc
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -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)