POST_FINALIZE.cmake 538 B

1234567891011121314151617
  1. message(STATUS "Winpack-DLDT: Validating OpenCV build configuration...")
  2. if(NOT INF_ENGINE_TARGET)
  3. message(SEND_ERROR "Inference engine must be detected")
  4. set(HAS_ERROR 1)
  5. endif()
  6. if(NOT HAVE_NGRAPH)
  7. message(SEND_ERROR "Inference engine nGraph must be detected")
  8. set(HAS_ERROR 1)
  9. endif()
  10. if(HAS_ERROR)
  11. ocv_cmake_dump_vars("^IE_|INF_|INFERENCE|ngraph")
  12. message(FATAL_ERROR "Winpack-DLDT: Validating OpenCV build configuration... FAILED")
  13. endif()
  14. message(STATUS "Winpack-DLDT: Validating OpenCV build configuration... DONE")