Added VS2017 support (MSVC 1910)

This commit is contained in:
Patrik Huber 2016-12-06 00:04:24 +00:00
parent 37cbcf024c
commit bd0a8c7e3f
2 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,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

@ -78,6 +78,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)