mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
Fixed NEON detection in Carotene build
This commit is contained in:
parent
b6a447798a
commit
fb6929ac3d
2
3rdparty/carotene/hal/CMakeLists.txt
vendored
2
3rdparty/carotene/hal/CMakeLists.txt
vendored
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user