mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 23:22:31 +02:00
Add AMD64 and i386/i686 to x86 detection
This commit is contained in:
parent
122b067087
commit
347065af95
@ -53,7 +53,9 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
|
|||||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64")
|
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64")
|
||||||
list(APPEND _HDRS include/cpuinfo_aarch64.h)
|
list(APPEND _HDRS include/cpuinfo_aarch64.h)
|
||||||
list(APPEND _SRCS src/cpuinfo_aarch64.c)
|
list(APPEND _SRCS src/cpuinfo_aarch64.c)
|
||||||
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
|
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR
|
||||||
|
CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" OR
|
||||||
|
CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
|
||||||
list(APPEND _HDRS include/cpuinfo_x86.h)
|
list(APPEND _HDRS include/cpuinfo_x86.h)
|
||||||
list(APPEND _HDRS include/internal/cpuid_x86.h)
|
list(APPEND _HDRS include/internal/cpuid_x86.h)
|
||||||
list(APPEND _SRCS src/cpuinfo_x86.c)
|
list(APPEND _SRCS src/cpuinfo_x86.c)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user