diff --git a/CMakeLists.txt b/CMakeLists.txt index 082b07d4..6f277f2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,8 +77,10 @@ ELSEIF(CMAKE_GENERATOR MATCHES "^Visual Studio " AND CMAKE_VS_PLATFORM_NAME) SET(CPUINFO_TARGET_PROCESSOR "x86") ELSEIF(CMAKE_VS_PLATFORM_NAME STREQUAL "x64") SET(CPUINFO_TARGET_PROCESSOR "x86_64") - ELSEIF(CMAKE_VS_PLATFORM_NAME STREQUAL "^(ARM64|arm64)") + ELSEIF(CMAKE_VS_PLATFORM_NAME STREQUAL "ARM64") SET(CPUINFO_TARGET_PROCESSOR "arm64") + ELSEIF(CMAKE_VS_PLATFORM_NAME STREQUAL "arm64") + SET(CPUINFO_TARGET_PROCESSOR "arm64") ELSEIF(CMAKE_VS_PLATFORM_NAME MATCHES "^(ARM64EC|arm64ec|ARM64E|arm64e)") SET(CPUINFO_TARGET_PROCESSOR "arm64") ELSE()