cmake: Detect powerpc architecture

This commit is contained in:
Anonymous Maarten 2023-02-26 00:22:23 +01:00 committed by Anonymous Maarten
parent fc4085b54e
commit 3db3424b4e
3 changed files with 7 additions and 3 deletions

View file

@ -78,7 +78,7 @@ function(SDL_DetectCPUArchitecture)
endforeach()
endif()
set(sdl_known_archs x86 x64 arm32 arm64 loongarch64 emscripten)
set(sdl_known_archs x64 x86 arm64 arm32 emscripten powerpc32 powerpc64 loongarch64)
if(NOT sdl_cpu_names)
set(found FALSE)
foreach(sdl_known_arch ${sdl_known_archs})