Fix build on FreeBSD/powerpc64*

FreeBSD uses powerpc64 and powerpc64le names for 64-bit POWER.
py_gui
pkubaj 2021-10-01 11:40:24 +00:00 committed by Thorsten Liebig
parent d260025a6d
commit 2215eba9ef
1 changed files with 1 additions and 3 deletions

View File

@ -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")