Skip to content

Commit 18823d8

Browse files
committed
Merge pull request #2924 from alalek:cmake_completelly_disable_cnn_3dobj
2 parents 31c657e + 0b721cd commit 18823d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/cnn_3dobj/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
set(BUILD_opencv_cnn_3dobj_INIT OFF) # Must be disabled by default - requires custom build of Caffe.
2+
if(NOT BUILD_opencv_cnn_3dobj)
3+
return()
4+
endif()
25

36
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR})
47

0 commit comments

Comments
 (0)