From 35e412fce8514b0ba73612b32d28ab28f9463741 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Wed, 23 Jun 2021 10:15:32 +0300 Subject: [PATCH] add sfml patch with arm64 support --- patch/sfml-support-arm64.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patch/sfml-support-arm64.diff diff --git a/patch/sfml-support-arm64.diff b/patch/sfml-support-arm64.diff new file mode 100644 index 00000000..7b185f6a --- /dev/null +++ b/patch/sfml-support-arm64.diff @@ -0,0 +1,14 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -252,11 +252,6 @@ + endif() + endif() + +- # only the default architecture (i.e. 64-bit) is supported +- if(NOT CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64") +- message(FATAL_ERROR "Only 64-bit architecture is supported") +- endif() +- + # configure Xcode templates + set(XCODE_TEMPLATES_ARCH "\$(NATIVE_ARCH_ACTUAL)") + endif()