From c3ca3f4f006e7c573923be4dfdf0a2ac0dc798b4 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 21 Nov 2024 11:50:25 +0300 Subject: [PATCH] Fixed KLEIDICV_SOURCE_PATH handling for extenral KleidiCV. --- cmake/OpenCVFindLibsPerf.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/OpenCVFindLibsPerf.cmake b/cmake/OpenCVFindLibsPerf.cmake index 493f005d7a..c2bff4fb1c 100644 --- a/cmake/OpenCVFindLibsPerf.cmake +++ b/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)