mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
CMake: Also check x86_64 and i686
This commit is contained in:
parent
82f510fe1e
commit
5fd8bfb5ec
@ -149,7 +149,7 @@ endif()
|
||||
|
||||
message("CMAKE_SYSTEM_PROCESSOR=<${CMAKE_SYSTEM_PROCESSOR}>")
|
||||
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86|AMD64|amd64|i386")
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86|x86_64|AMD64|amd64|i386|i686")
|
||||
|
||||
set(HAVE_NEON FALSE)
|
||||
|
||||
@ -233,7 +233,7 @@ if(HAVE_NEON)
|
||||
add_definitions("-DHAVE_NEON")
|
||||
endif()
|
||||
|
||||
endif(CMAKE_SYSTEM_PROCESSOR MATCHES "x86|AMD64|amd64|i386")
|
||||
endif(CMAKE_SYSTEM_PROCESSOR MATCHES "x86|x86_64|AMD64|amd64|i386|i686")
|
||||
|
||||
# auto optimize - used only for information about available vectors
|
||||
include(OptimizeForArchitecture)
|
||||
|
Loading…
Reference in New Issue
Block a user