cmake+video: always use altivec.h header for detection + introduce SDL_ENABLE_ALTIVEC

This commit is contained in:
Anonymous Maarten
2023-03-15 04:56:55 +01:00
committed by Anonymous Maarten
parent 684709a5b6
commit d27db3defa
7 changed files with 14 additions and 20 deletions

View File

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