diff options
Diffstat (limited to 'vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff')
| -rw-r--r-- | vcpkg/ports/turbobase64/fix-apple-silicon-arm64-detection.diff | 13 |
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) |