cmake: allow to disable ADE build too (BUILD_opencv_gapi=OFF is not enough)
CMake option: WITH_ADE=OFF
This commit is contained in:
parent
02cc1cd6e6
commit
de8696aa43
@ -1,3 +1,9 @@
|
|||||||
|
OCV_OPTION(WITH_ADE "Enable ADE framework (required for Graph API module)" ON)
|
||||||
|
|
||||||
|
if(NOT WITH_ADE)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
if (ade_DIR)
|
if (ade_DIR)
|
||||||
# if ade_DIR is set, use ADE-supplied CMake script
|
# if ade_DIR is set, use ADE-supplied CMake script
|
||||||
# to set up variables to the prebuilt ADE
|
# to set up variables to the prebuilt ADE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user