We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1863fe7 commit a713947Copy full SHA for a713947
CMakeLists.txt
@@ -60,6 +60,13 @@ else()
60
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4)
61
set(ARCH x86)
62
endif()
63
+ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "powerpc")
64
+ # AIX will report the processor as 'powerpc' even if building in 64-bit mode
65
+ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
66
+ set(ARCH ppc64)
67
+ else()
68
+ set(ARCH ppc32)
69
+ endif()
70
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES
71
"^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)")
72
set(ARCH arm64)
0 commit comments