mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Fix check for NEON on 32 bit ARM
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
158c845228
commit
e0af8d12e6
@ -142,11 +142,10 @@ endif()
|
||||
|
||||
message("CMAKE_SYSTEM_PROCESSOR=<${CMAKE_SYSTEM_PROCESSOR}>")
|
||||
|
||||
# Flags for SIMD support
|
||||
set(HAVE_NEON FALSE)
|
||||
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86|AMD64")
|
||||
|
||||
set(HAVE_NEON FALSE)
|
||||
|
||||
CHECK_CXX_COMPILER_FLAG("-mavx" HAVE_AVX)
|
||||
if(HAVE_AVX)
|
||||
set(AVX_COMPILE_FLAGS "-mavx")
|
||||
|
Loading…
Reference in New Issue
Block a user