diff --git a/extras/Build/CMake/juce_runtime_arch_detection.cpp b/extras/Build/CMake/juce_runtime_arch_detection.cpp index 90c9a66db18e..ea2582c00d59 100644 --- a/extras/Build/CMake/juce_runtime_arch_detection.cpp +++ b/extras/Build/CMake/juce_runtime_arch_detection.cpp @@ -62,7 +62,11 @@ #elif defined(__ppc__) || defined(__ppc) || defined(__powerpc__) || defined(_ARCH_COM) || defined(_ARCH_PWR) || defined(_ARCH_PPC) || defined(_M_MPPC) || defined(_M_PPC) #if defined(__ppc64__) || defined(__powerpc64__) || defined(__64BIT__) - #error JUCE_ARCH ppc64 + #ifdef __LITTLE_ENDIAN__ + #error JUCE_ARCH ppc64le + #else + #error JUCE_ARCH ppc64 + #endif #else #error JUCE_ARCH ppc #endif