summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-25 08:07:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-26 11:22:50 +0200
commit98b80e9878283a073e3ebfd5577acb88efa7b04c (patch)
tree1da23090e5b039390db63c21f77aae4660253b57 /cmake/msvc.cmake
parent5680c432cdff1d82ef0f276f4c605d9cf3453c6b (diff)
cmake: kill opencv plugin stderr output
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r--cmake/msvc.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index d5b94690..5caa6952 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -49,6 +49,9 @@ endif()
if(CMAKE_PROJECT_NAME STREQUAL "OpenCV")
set(OPENCV_SKIP_MSVC_EXCEPTIONS_FLAG TRUE)
+ set(PARALLEL_ENABLE_PLUGINS FALSE)
+ set(HIGHGUI_ENABLE_PLUGINS FALSE)
+ set(VIDEOIO_ENABLE_PLUGINS FALSE)
endif()
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")