build: only build x86 cpuid on support architectures
This commit is contained in:
parent
85e9dba38c
commit
bb7be903b1
@ -188,6 +188,16 @@ else ()
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
|
if (host_cpu STREQUAL "x86_64")
|
||||||
|
list (APPEND UTIL_FILES
|
||||||
|
cpuid_x86.cpp
|
||||||
|
cpuid_x86.hpp
|
||||||
|
)
|
||||||
|
else ()
|
||||||
|
message (FATAL_ERROR "Unknown architecture ${host_cpu}")
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Common files
|
# Common files
|
||||||
list (
|
list (
|
||||||
@ -254,8 +264,6 @@ list (
|
|||||||
cpp.hpp
|
cpp.hpp
|
||||||
cpuid.cpp
|
cpuid.cpp
|
||||||
cpuid.hpp
|
cpuid.hpp
|
||||||
cpuid_x86.cpp
|
|
||||||
cpuid_x86.hpp
|
|
||||||
debug.cpp
|
debug.cpp
|
||||||
debug.hpp
|
debug.hpp
|
||||||
encode/number.hpp
|
encode/number.hpp
|
||||||
|
Loading…
Reference in New Issue
Block a user