cmake: detect ARM64EC

This commit is contained in:
Anonymous Maarten
2024-07-18 21:49:32 +02:00
committed by Anonymous Maarten
parent 7d83e03ac2
commit c59771d7fc
2 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ set(SDL3_FOUND TRUE)
if(SDL_CPU_X86)
set(_sdl_arch_subdir "x86")
elseif(SDL_CPU_X64)
elseif(SDL_CPU_X64 OR SDL_CPU_ARM64EC)
set(_sdl_arch_subdir "x64")
elseif(SDL_CPU_ARM64)
set(_sdl_arch_subdir "arm64")