From 391e0c5a1d890b3668b109259b134103ed95131a Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Wed, 8 Feb 2023 14:12:52 +0700 Subject: [PATCH] CMakeLists: support ppc Signed-off-by: Sergey Fedorov --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d0c84d6821..a39b0742996 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -434,7 +434,7 @@ endif(NOT CMAKE_SYSTEM_PROCESSOR) if(processor_name MATCHES "^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)" OR processor_name MATCHES "^(arm.*|ARM.*)" OR processor_name MATCHES "^(mips.*|MIPS.*)") # on ARM everything, including Windows, targets ARM C++ ABI set(MADNESS_CXX_ABI ${MADNESS_CXX_ABI_GenericARM}) -elseif(processor_name MATCHES "amd64.*|x86_64.*|AMD64.*" OR processor_name MATCHES "i686.*|i386.*|x86.*" OR processor_name MATCHES "^(powerpc|ppc)64le" OR processor_name MATCHES "^(powerpc|ppc)64") +elseif(processor_name MATCHES "amd64.*|x86_64.*|AMD64.*" OR processor_name MATCHES "i686.*|i386.*|x86.*" OR processor_name MATCHES "^(powerpc|ppc)64le" OR processor_name MATCHES "^(powerpc|ppc)64" OR processor_name MATCHES "^(powerpc|ppc)") if (CMAKE_SYSTEM_NAME STREQUAL Windows) # on x86 Windows all compilers (clang, intel) target Windows C++ ABI set(MADNESS_CXX_ABI ${MADNESS_CXX_ABI_Microsoft}) else (CMAKE_SYSTEM_NAME STREQUAL Windows) # everyone else uses Itanium C++ ABI