From bf842a6a1e1e0a983d7c37ea7564b7f19d8544b1 Mon Sep 17 00:00:00 2001 From: xiphon Date: Sat, 13 Oct 2018 09:46:19 +0000 Subject: build: use ARCH 'native' by default, allow to configure and override it --- contrib/depends/toolchain.cmake.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib') diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in index f8548a724..66168facb 100644 --- a/contrib/depends/toolchain.cmake.in +++ b/contrib/depends/toolchain.cmake.in @@ -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/") -- cgit v1.2.3