Fix arch detection on x86.
This commit is contained in:
1 parent
a6ee74b58d
commit
d4c53eed01
1 file changed
+1
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user