aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff')
-rw-r--r--vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff b/vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff
new file mode 100644
index 0000000..8562a3f
--- /dev/null
+++ b/vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b898742..f6274c5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -20,7 +20,7 @@ option(BUILD_APP "Build executables" OFF)
+ message(STATUS "Configuring with CMAKE_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}")
+ if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+ set(ARCH_AMD64 ON)
+-elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
++elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "arm64")
+ set(ARCH_AARCH64 ON)
+ elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64le")
+ set(ARCH_PPC64LE ON)