Fix build on FreeBSD/powerpc64*
FreeBSD uses powerpc64 and powerpc64le names for 64-bit POWER.py_gui
parent
d260025a6d
commit
2215eba9ef
|
@ -157,9 +157,7 @@ elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64")
|
|||
set(ARCH "x86_64")
|
||||
elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64")
|
||||
set(ARCH "x86_64")
|
||||
elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64")
|
||||
set(ARCH "ppc64")
|
||||
elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64le")
|
||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(ppc64.*|PPC64.*|powerpc64.*)")
|
||||
set(ARCH "ppc64")
|
||||
elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "unknown")
|
||||
set(ARCH "unknown")
|
||||
|
|
Loading…
Reference in New Issue