We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdb6b45 commit cbced23Copy full SHA for cbced23
modules/dnn/CMakeLists.txt
@@ -2,6 +2,10 @@ if(WINRT)
2
ocv_module_disable(dnn)
3
endif()
4
5
+if(DEFINED BUILD_opencv_dnn AND NOT BUILD_opencv_dnn)
6
+ return()
7
+endif()
8
+
9
include(${OpenCV_SOURCE_DIR}/cmake/OpenCVFindLibProtobuf.cmake)
10
if(NOT Protobuf_FOUND)
11
ocv_module_disable(opencv_dnn)
0 commit comments