From cb054f92b83d9189599618d82f0ce48448a251b7 Mon Sep 17 00:00:00 2001 From: SamJakob Date: Wed, 8 Nov 2023 15:28:11 +0000 Subject: [PATCH] Add Intel-from-ARM cross-compile configuration --- src/BuildMacArm-MacIntel.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/BuildMacArm-MacIntel.cmake diff --git a/src/BuildMacArm-MacIntel.cmake b/src/BuildMacArm-MacIntel.cmake new file mode 100644 index 0000000..e35725e --- /dev/null +++ b/src/BuildMacArm-MacIntel.cmake @@ -0,0 +1,11 @@ +################################################################ +# Name: BuildMacIntel.cmake +# Purpose: Build MacIntel binary +# Author: Cas Cremers +################################################################ + +message (STATUS "Building Apple Mac Intel version (cross-compiling)") +set (scythername "scyther-mac") +add_executable (${scythername} ${Scyther_sources}) +set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.6 -arch x86_64") +set (CMAKE_OSX_ARCHITECTURES "x86_64")