Fixed NEON detection in Carotene build

This commit is contained in:
Maksim Shabunin 2018-11-26 11:30:20 +03:00
parent b6a447798a
commit fb6929ac3d

View File

@ -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()