Merge pull request #3981 from patrikhuber:vs2015-support

pull/3986/merge
Vadim Pisarevsky 10 years ago
commit 1aa03cecf1
  1. 2
      cmake/OpenCVConfig.cmake
  2. 2
      cmake/OpenCVDetectCXXCompiler.cmake

@ -79,6 +79,8 @@ if(MSVC)
set(OpenCV_RUNTIME vc11)
elseif(MSVC_VERSION EQUAL 1800)
set(OpenCV_RUNTIME vc12)
elseif(MSVC_VERSION EQUAL 1900)
set(OpenCV_RUNTIME vc14)
endif()
elseif(MINGW)
set(OpenCV_RUNTIME mingw)

@ -140,6 +140,8 @@ if(MSVC)
set(OpenCV_RUNTIME vc11)
elseif(MSVC_VERSION EQUAL 1800)
set(OpenCV_RUNTIME vc12)
elseif(MSVC_VERSION EQUAL 1900)
set(OpenCV_RUNTIME vc14)
endif()
elseif(MINGW)
set(OpenCV_RUNTIME mingw)

Loading…
Cancel
Save