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)
|
set(_M_GENERIC 1)
|
||||||
add_definitions(-D_M_GENERIC=1)
|
add_definitions(-D_M_GENERIC=1)
|
||||||
else()
|
else()
|
||||||
|
message("Warning! Building generic build!")
|
||||||
set(_M_GENERIC 1)
|
set(_M_GENERIC 1)
|
||||||
add_definitions(-D_M_GENERIC=1)
|
add_definitions(-D_M_GENERIC=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue