Fixed KLEIDICV_SOURCE_PATH handling for extenral KleidiCV.

pull/26501/head
Alexander Smorkalov 4 days ago
parent 64d3111377
commit c3ca3f4f00
  1. 3
      cmake/OpenCVFindLibsPerf.cmake

@ -165,6 +165,7 @@ endif(WITH_CLP)
# --- ARM KleidiCV
if(WITH_KLEIDICV)
if(KLEIDICV_SOURCE_PATH AND EXISTS "${KLEIDICV_SOURCE_PATH}/adapters/opencv/CMakeLists.txt")
message(STATUS "Use external KleidiCV ${KLEIDICV_SOURCE_PATH}")
set(HAVE_KLEIDICV ON)
endif()
if(NOT HAVE_KLEIDICV)
@ -173,7 +174,5 @@ if(WITH_KLEIDICV)
if(KLEIDICV_SOURCE_PATH)
set(HAVE_KLEIDICV ON)
endif()
else()
set(HAVE_KLEIDICV OFF)
endif()
endif(WITH_KLEIDICV)

Loading…
Cancel
Save