mirror of
https://github.com/love2d/megasource.git
synced 2026-08-19 12:14:41 +02:00
OpenAL-soft: Apply kcat/openal-soft@ee9f0fe306
Recognize ARM64 as a VS platform
This commit is contained in:
@@ -470,9 +470,11 @@ find_package_handle_standard_args(WindowsSDK
|
||||
|
||||
if(WINDOWSSDK_FOUND)
|
||||
# Internal: Architecture-appropriate library directory names.
|
||||
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "ARM")
|
||||
if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "ARM" OR "${CMAKE_VS_PLATFORM_NAME}" STREQUAL "ARM64")
|
||||
if(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||
# Only supported in Win10 SDK and up.
|
||||
set(_winsdk_archbare ) # what the architecture used to be called in oldest SDKs
|
||||
set(_winsdk_arch arm64) # what the architecture used to be called
|
||||
set(_winsdk_arch8 arm64) # what the WDK for Win8+ calls this architecture
|
||||
else()
|
||||
set(_winsdk_archbare /arm) # what the architecture used to be called in oldest SDKs
|
||||
|
||||
Reference in New Issue
Block a user