Add Intel-from-ARM cross-compile configuration

This commit is contained in:
SamJakob 2023-11-08 15:28:11 +00:00
parent 149c9d737e
commit cb054f92b8
No known key found for this signature in database
GPG Key ID: 607AC91837DBB115

View File

@ -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")