Skip to content

Commit fb6929a

Browse files
committed
Fixed NEON detection in Carotene build
1 parent b6a4477 commit fb6929a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rdparty/carotene/hal/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ endif()
5353
set(CAROTENE_NS "carotene_o4t" CACHE STRING "" FORCE)
5454

5555
function(compile_carotene)
56-
if(ENABLE_NEON)
56+
if(";${CPU_BASELINE_FINAL};" MATCHES ";NEON;")
5757
set(WITH_NEON ON)
5858
endif()
5959

0 commit comments

Comments
 (0)