Fix SDL3ConfigVersion.cmake of VC development package for ARM64EC

This commit is contained in:
Anonymous Maarten 2024-07-19 22:49:18 +02:00
parent aafbbe4ebc
commit b3b74e8aed

View File

@ -51,7 +51,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/sdlcpu.cmake")
SDL_DetectTargetCPUArchitectures(_detected_archs)
# check that the installed version has a compatible architecture as the one which is currently searching:
if(NOT(SDL_CPU_X86 OR SDL_CPU_X64 OR SDL_CPU_ARM64))
set(PACKAGE_VERSION "${PACKAGE_VERSION} (X86,X64,ARM64)")
if(NOT(SDL_CPU_X86 OR SDL_CPU_X64 OR SDL_CPU_ARM64 OR SDL_CPU_ARM64EC))
set(PACKAGE_VERSION "${PACKAGE_VERSION} (X86,X64,ARM64,ARM64EC)")
set(PACKAGE_VERSION_UNSUITABLE TRUE)
endif()