diff options
author | xiphon <xiphon@protonmail.com> | 2018-10-13 09:46:19 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2018-10-13 09:46:37 +0000 |
commit | bf842a6a1e1e0a983d7c37ea7564b7f19d8544b1 (patch) | |
tree | 2febce319c0f32bb319959b70747bf5a311a5072 /contrib/depends/toolchain.cmake.in | |
parent | Merge pull request #4543 (diff) | |
download | monero-bf842a6a1e1e0a983d7c37ea7564b7f19d8544b1.tar.xz |
build: use ARCH 'native' by default, allow to configure and override it
Diffstat (limited to 'contrib/depends/toolchain.cmake.in')
-rw-r--r-- | contrib/depends/toolchain.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
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/") |