Add VS2015 compatibility to CMake scripts
This commit is contained in:
@@ -82,6 +82,8 @@ if(MSVC)
|
|||||||
set(OpenCV_RUNTIME vc11)
|
set(OpenCV_RUNTIME vc11)
|
||||||
elseif(MSVC_VERSION EQUAL 1800)
|
elseif(MSVC_VERSION EQUAL 1800)
|
||||||
set(OpenCV_RUNTIME vc12)
|
set(OpenCV_RUNTIME vc12)
|
||||||
|
elseif(MSVC_VERSION EQUAL 1900)
|
||||||
|
set(OpenCV_RUNTIME vc14)
|
||||||
endif()
|
endif()
|
||||||
elseif(MINGW)
|
elseif(MINGW)
|
||||||
set(OpenCV_RUNTIME mingw)
|
set(OpenCV_RUNTIME mingw)
|
||||||
|
@@ -143,6 +143,8 @@ if(MSVC)
|
|||||||
set(OpenCV_RUNTIME vc11)
|
set(OpenCV_RUNTIME vc11)
|
||||||
elseif(MSVC_VERSION EQUAL 1800)
|
elseif(MSVC_VERSION EQUAL 1800)
|
||||||
set(OpenCV_RUNTIME vc12)
|
set(OpenCV_RUNTIME vc12)
|
||||||
|
elseif(MSVC_VERSION EQUAL 1900)
|
||||||
|
set(OpenCV_RUNTIME vc14)
|
||||||
endif()
|
endif()
|
||||||
elseif(MINGW)
|
elseif(MINGW)
|
||||||
set(OpenCV_RUNTIME mingw)
|
set(OpenCV_RUNTIME mingw)
|
||||||
|
Reference in New Issue
Block a user