mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 09:49:12 +08:00
18 lines
538 B
CMake
18 lines
538 B
CMake
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")
|