Update c_check.cmake

This commit is contained in:
Martin Kroeker 2017-03-10 11:45:48 +01:00 committed by GitHub
parent 9254a701f3
commit 8de40955ad
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ if (${ARCH} STREQUAL "X86")
set(ARCH x86) set(ARCH x86)
endif () endif ()
if (${ARCH} MATCHES "ppc")
set(ARCH power)
endif ()
set(COMPILER_ID ${CMAKE_CXX_COMPILER_ID}) set(COMPILER_ID ${CMAKE_CXX_COMPILER_ID})
if (${COMPILER_ID} STREQUAL "GNU") if (${COMPILER_ID} STREQUAL "GNU")
set(COMPILER_ID "GCC") set(COMPILER_ID "GCC")