From 8de40955ad90fcb90c1bae4fb72c87b141672a3d Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 10 Mar 2017 11:45:48 +0100 Subject: [PATCH] Update c_check.cmake --- cmake/c_check.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/c_check.cmake b/cmake/c_check.cmake index 89ec31446..115bdaf4e 100644 --- a/cmake/c_check.cmake +++ b/cmake/c_check.cmake @@ -73,6 +73,10 @@ if (${ARCH} STREQUAL "X86") set(ARCH x86) endif () +if (${ARCH} MATCHES "ppc") + set(ARCH power) +endif () + set(COMPILER_ID ${CMAKE_CXX_COMPILER_ID}) if (${COMPILER_ID} STREQUAL "GNU") set(COMPILER_ID "GCC")