Correctly detect amd64 and i386 on FreeBSD

FreeBSD uses amd64 and i386 names.
This commit is contained in:
pkubaj 2021-12-02 03:46:41 +00:00 committed by GitHub
parent 4abb0e08bc
commit fb74c7eac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ endif()
message("CMAKE_SYSTEM_PROCESSOR=<${CMAKE_SYSTEM_PROCESSOR}>")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86|AMD64")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86|AMD64|amd64|i386")
set(HAVE_NEON FALSE)