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.
18 lines
538 B
18 lines
538 B
5 years ago
|
message(STATUS "Winpack-DLDT: Validating OpenCV build configuration...")
|
||
|
|
||
|
if(NOT INF_ENGINE_TARGET)
|
||
|
message(SEND_ERROR "Inference engine must be detected")
|
||
|
set(HAS_ERROR 1)
|
||
|
endif()
|
||
|
if(NOT HAVE_NGRAPH)
|
||
|
message(SEND_ERROR "Inference engine nGraph must be detected")
|
||
|
set(HAS_ERROR 1)
|
||
|
endif()
|
||
|
|
||
|
if(HAS_ERROR)
|
||
|
ocv_cmake_dump_vars("^IE_|INF_|INFERENCE|ngraph")
|
||
|
message(FATAL_ERROR "Winpack-DLDT: Validating OpenCV build configuration... FAILED")
|
||
|
endif()
|
||
|
|
||
|
message(STATUS "Winpack-DLDT: Validating OpenCV build configuration... DONE")
|