From 26cb154f4011294d22b0f163e0373cab7cb15f26 Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Mon, 26 Nov 2018 11:30:20 +0300 Subject: [PATCH] Fixed NEON detection in Carotene build --- 3rdparty/carotene/hal/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/carotene/hal/CMakeLists.txt b/3rdparty/carotene/hal/CMakeLists.txt index 819954de13..e382f037e8 100644 --- a/3rdparty/carotene/hal/CMakeLists.txt +++ b/3rdparty/carotene/hal/CMakeLists.txt @@ -53,7 +53,7 @@ endif() set(CAROTENE_NS "carotene_o4t" CACHE STRING "" FORCE) function(compile_carotene) - if(ENABLE_NEON) + if(";${CPU_BASELINE_FINAL};" MATCHES ";NEON;") set(WITH_NEON ON) endif()