Added Visual Studio 2013 detection.
authorRoman Donchenko <roman.donchenko@itseez.com>
Mon, 18 Nov 2013 15:39:39 +0000 (19:39 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Mon, 18 Nov 2013 15:39:39 +0000 (19:39 +0400)
cmake/OpenCVConfig.cmake
cmake/OpenCVDetectCXXCompiler.cmake

index c7839c6..2d80f76 100644 (file)
@@ -77,6 +77,8 @@ if(MSVC)
     set(OpenCV_RUNTIME vc10)
   elseif(MSVC_VERSION EQUAL 1700)
     set(OpenCV_RUNTIME vc11)
+  elseif(MSVC_VERSION EQUAL 1800)
+    set(OpenCV_RUNTIME vc12)
   endif()
 elseif(MINGW)
   set(OpenCV_RUNTIME mingw)
index e2691d8..819c2e0 100644 (file)
@@ -136,6 +136,8 @@ if(MSVC)
     set(OpenCV_RUNTIME vc10)
   elseif(MSVC_VERSION EQUAL 1700)
     set(OpenCV_RUNTIME vc11)
+  elseif(MSVC_VERSION EQUAL 1800)
+    set(OpenCV_RUNTIME vc12)
   endif()
 elseif(MINGW)
   set(OpenCV_RUNTIME mingw)