summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
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>")