From 296b47fec94f56e971d2faff51529f74429c7419 Mon Sep 17 00:00:00 2001 From: Mark Horvath Date: Thu, 2 May 2024 15:24:29 +0200 Subject: [PATCH] Fix build if SVE2 or SME2 codepaths are turned off If the library is built with OpenCV the undefined macros cause an error. --- kleidicv/include/kleidicv/dispatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kleidicv/include/kleidicv/dispatch.h b/kleidicv/include/kleidicv/dispatch.h index 18f9056c0..bdab7d7b7 100644 --- a/kleidicv/include/kleidicv/dispatch.h +++ b/kleidicv/include/kleidicv/dispatch.h @@ -7,7 +7,7 @@ #include "kleidicv/config.h" -#if KLEIDICV_HAVE_SVE2 || KLEIDICV_HAVE_SME2 +#if defined(KLEIDICV_HAVE_SVE2) || defined(KLEIDICV_HAVE_SME2) #include #include -- GitLab