From cf87380fadc38671f82e9a10cd561aa5fff569bc Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 31 Oct 2024 08:14:30 +0300 Subject: [PATCH] Disable SME2 branches in KleidiCV as it's incompatible with some CLang versions, e.g. NDK 28b1. --- 3rdparty/kleidicv/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/3rdparty/kleidicv/CMakeLists.txt b/3rdparty/kleidicv/CMakeLists.txt index a7f7c1a37c..060357662c 100644 --- a/3rdparty/kleidicv/CMakeLists.txt +++ b/3rdparty/kleidicv/CMakeLists.txt @@ -20,4 +20,5 @@ else() set(THE_ROOT "${OpenCV_BINARY_DIR}/3rdparty/kleidicv/kleidicv-${KLEIDICV_SRC_COMMIT}") endif() +option(KLEIDICV_ENABLE_SME2 "" OFF) # not compatible with some CLang versions in NDK include("${THE_ROOT}/adapters/opencv/CMakeLists.txt")