Fix arch detection on x86.
This commit is contained in:
parent
a6ee74b58d
commit
d4c53eed01
|
@ -164,6 +164,7 @@ elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
|
|||
set(_M_GENERIC 1)
|
||||
add_definitions(-D_M_GENERIC=1)
|
||||
else()
|
||||
message("Warning! Building generic build!")
|
||||
set(_M_GENERIC 1)
|
||||
add_definitions(-D_M_GENERIC=1)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue