Commit 020ad1ac authored by Maksim Shabunin's avatar Maksim Shabunin

dnn: allow setting IE paths via command line

parent 085b27fc
...@@ -30,7 +30,7 @@ if(NOT INF_ENGINE_ROOT_DIR OR NOT EXISTS "${INF_ENGINE_ROOT_DIR}/include/inferen ...@@ -30,7 +30,7 @@ if(NOT INF_ENGINE_ROOT_DIR OR NOT EXISTS "${INF_ENGINE_ROOT_DIR}/include/inferen
list(APPEND ie_root_paths "${INTEL_CVSDK_DIR}/inference_engine") list(APPEND ie_root_paths "${INTEL_CVSDK_DIR}/inference_engine")
endif() endif()
if(WITH_INF_ENGINE AND NOT ie_root_paths) if(NOT ie_root_paths)
list(APPEND ie_root_paths "/opt/intel/deeplearning_deploymenttoolkit/deployment_tools/inference_engine") list(APPEND ie_root_paths "/opt/intel/deeplearning_deploymenttoolkit/deployment_tools/inference_engine")
endif() endif()
......
...@@ -80,7 +80,7 @@ else() ...@@ -80,7 +80,7 @@ else()
set(sources_options EXCLUDE_OPENCL) set(sources_options EXCLUDE_OPENCL)
endif() endif()
if(WITH_INF_ENGINE AND HAVE_INF_ENGINE) if(HAVE_INF_ENGINE)
add_definitions(-DHAVE_INF_ENGINE=1) add_definitions(-DHAVE_INF_ENGINE=1)
list(APPEND include_dirs ${INF_ENGINE_INCLUDE_DIRS}) list(APPEND include_dirs ${INF_ENGINE_INCLUDE_DIRS})
list(APPEND libs ${INF_ENGINE_LIBRARIES}) list(APPEND libs ${INF_ENGINE_LIBRARIES})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment