aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/toolchain.cmake.in
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2018-10-13 09:46:19 +0000
committerxiphon <xiphon@protonmail.com>2018-10-13 09:46:37 +0000
commitbf842a6a1e1e0a983d7c37ea7564b7f19d8544b1 (patch)
tree2febce319c0f32bb319959b70747bf5a311a5072 /contrib/depends/toolchain.cmake.in
parentMerge pull request #4543 (diff)
downloadmonero-bf842a6a1e1e0a983d7c37ea7564b7f19d8544b1.tar.xz
build: use ARCH 'native' by default, allow to configure and override it
Diffstat (limited to '')
-rw-r--r--contrib/depends/toolchain.cmake.in2
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/")