Skip to content

Commit 7be4a0e

Browse files
committed
Merge pull request opencv#7809 from alalek:backport_7797
2 parents 2572745 + c6af179 commit 7be4a0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cmake/OpenCVConfig.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ if(MSVC)
8181
set(OpenCV_RUNTIME vc12)
8282
elseif(MSVC_VERSION EQUAL 1900)
8383
set(OpenCV_RUNTIME vc14)
84+
elseif(MSVC_VERSION EQUAL 1910)
85+
set(OpenCV_RUNTIME vc15)
8486
endif()
8587
elseif(MINGW)
8688
set(OpenCV_RUNTIME mingw)

cmake/OpenCVDetectCXXCompiler.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ if(MSVC)
138138
set(OpenCV_RUNTIME vc12)
139139
elseif(MSVC_VERSION EQUAL 1900)
140140
set(OpenCV_RUNTIME vc14)
141+
elseif(MSVC_VERSION EQUAL 1910)
142+
set(OpenCV_RUNTIME vc15)
141143
endif()
142144
elseif(MINGW)
143145
set(OpenCV_RUNTIME mingw)

0 commit comments

Comments
 (0)