mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 18:13:13 +08:00
Fixed NEON detection in Carotene build
This commit is contained in:
parent
ca5455c592
commit
26cb154f40
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)
|
set(CAROTENE_NS "carotene_o4t" CACHE STRING "" FORCE)
|
||||||
|
|
||||||
function(compile_carotene)
|
function(compile_carotene)
|
||||||
if(ENABLE_NEON)
|
if(";${CPU_BASELINE_FINAL};" MATCHES ";NEON;")
|
||||||
set(WITH_NEON ON)
|
set(WITH_NEON ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user