From 7decc85eb71e6969137825dd2074a43d62634ec1 Mon Sep 17 00:00:00 2001 From: Marcin Mielniczuk Date: Fri, 25 Aug 2023 14:19:48 +0200 Subject: [PATCH] cmake : fix PowerPC build failures introduced in #1174 (#1196) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63f62c6f..2639e5a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -248,6 +248,8 @@ message(STATUS "CMAKE_SYSTEM_PROCESSOR: ${CMAKE_SYSTEM_PROCESSOR}") if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") message(STATUS "ARM detected") +elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "ppc64le") + message(STATUS "PowerPC detected") else() message(STATUS "x86 detected") if (MSVC)