mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
554 B
15 lines
554 B
# The script detects Intel(R) OpenVINO(TM) runtime installation |
|
# |
|
# Result: |
|
# - target ocv.3rdparty.openvino |
|
|
|
if(WITH_OPENVINO) |
|
find_package(OpenVINO QUIET) |
|
if(OpenVINO_FOUND) |
|
message(STATUS "OpenVINO FOUND: ${OpenVINO_VERSION}") |
|
math(EXPR ver "${OpenVINO_VERSION_MAJOR} * 1000000 + ${OpenVINO_VERSION_MINOR} * 10000 + ${OpenVINO_VERSION_PATCH} * 100") |
|
ocv_add_external_target(openvino "" "openvino::runtime" "INF_ENGINE_RELEASE=${ver};HAVE_NGRAPH;HAVE_DNN_NGRAPH;HAVE_INF_ENGINE") |
|
set(HAVE_OPENVINO 1) |
|
return() |
|
endif() |
|
endif()
|
|
|