projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a5298a
)
Added warning when MSVC_VERSION is not recognized
author
joncrall
<jon.crall@kitware.com>
Tue, 19 Sep 2017 22:00:25 +0000
(18:00 -0400)
committer
joncrall
<jon.crall@kitware.com>
Tue, 19 Sep 2017 22:00:25 +0000
(18:00 -0400)
cmake/OpenCVDetectCXXCompiler.cmake
patch
|
blob
|
history
diff --git
a/cmake/OpenCVDetectCXXCompiler.cmake
b/cmake/OpenCVDetectCXXCompiler.cmake
index
c65081c
..
7b0d4c3
100644
(file)
--- a/
cmake/OpenCVDetectCXXCompiler.cmake
+++ b/
cmake/OpenCVDetectCXXCompiler.cmake
@@
-114,6
+114,8
@@
if(MSVC)
set(OpenCV_RUNTIME vc14)
elseif(MSVC_VERSION EQUAL 1910 OR MSVC_VERSION EQUAL 1911)
set(OpenCV_RUNTIME vc15)
+ else()
+ message(WARNING "OpenCV does not recognize MSVC_VERSION \"${MSVC_VERSION}\". Cannot set OpenCV_RUNTIME")
endif()
elseif(MINGW)
set(OpenCV_RUNTIME mingw)