aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/steam-audio/fix-arm64-windows.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/steam-audio/fix-arm64-windows.patch')
-rw-r--r--vcpkg/ports/steam-audio/fix-arm64-windows.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/steam-audio/fix-arm64-windows.patch b/vcpkg/ports/steam-audio/fix-arm64-windows.patch
new file mode 100644
index 0000000..0291784
--- /dev/null
+++ b/vcpkg/ports/steam-audio/fix-arm64-windows.patch
@@ -0,0 +1,13 @@
+diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
+index ab49461..9d53dce 100644
+--- a/core/CMakeLists.txt
++++ b/core/CMakeLists.txt
+@@ -43,6 +43,8 @@ endif()
+ if (IPL_OS_WINDOWS)
+ if (CMAKE_GENERATOR_PLATFORM STREQUAL "ARM64")
+ set(IPL_CPU_ARMV8 TRUE)
++ elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64")
++ set(IPL_CPU_ARMV8 TRUE)
+ elseif (CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(IPL_CPU_X64 TRUE)
+ else()