summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-07 18:59:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-10-07 18:59:48 +0200
commit504b8a091730f7eacbf46a8d693dfa423041925c (patch)
treefdd209b8cd258994661e8a190e6bca24bb15c261 /cmake
parent9746628ce400b7e71d9fc6018480271895b5373c (diff)
cmake/msvc: disable opencv thread support
Diffstat (limited to 'cmake')
-rw-r--r--cmake/msvc.cmake1
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>")