Add Intel-from-ARM cross-compile configuration
This commit is contained in:
parent
149c9d737e
commit
cb054f92b8
11
src/BuildMacArm-MacIntel.cmake
Normal file
11
src/BuildMacArm-MacIntel.cmake
Normal 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")
|
Loading…
Reference in New Issue
Block a user