build: use ARCH 'native' by default, allow to configure and override it

This commit is contained in:
xiphon 2018-10-13 09:46:19 +00:00
parent 77e1ebff26
commit bf842a6a1e
3 changed files with 6 additions and 6 deletions

View file

@ -51,7 +51,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(APPLE True)
SET(BUILD_TAG "mac-x64")
SET(BUILD_64 ON)
if(NOT TRAVIS)
SET(ARCH "x86_64")
endif()
SET(BREW OFF)
SET(PORT OFF)
SET(CMAKE_OSX_SYSROOT "@sdk@/MacOSX10.11.sdk/")