diff options
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r-- | cmake/msvc.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index bfd4b875..e3c05df1 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -56,6 +56,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "OpenCV") set(PARALLEL_ENABLE_PLUGINS FALSE) set(HIGHGUI_ENABLE_PLUGINS FALSE) set(VIDEOIO_ENABLE_PLUGINS FALSE) + set(OPENCV_DISABLE_THREAD_SUPPORT TRUE) endif() set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") |