Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / fluid / modules / gapi / cmake / init.cmake
1 OCV_OPTION(WITH_ADE "Enable ADE framework (required for Graph API module)" ON)
2
3 if(NOT WITH_ADE)
4   return()
5 endif()
6
7 if (ade_DIR)
8   # if ade_DIR is set, use ADE-supplied CMake script
9   # to set up variables to the prebuilt ADE
10   find_package(ade 0.1.0)
11 endif()
12
13 if(NOT TARGET ade)
14   # if ade_DIR is not set, try to use automatically
15   # downloaded one (if there any)
16   include("${CMAKE_CURRENT_LIST_DIR}/DownloadADE.cmake")
17 endif()