aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-03-09 13:33:35 -0400
committerluigi1111 <luigi1111w@gmail.com>2020-03-09 13:33:35 -0400
commit7ca6b550ae8ee54b42cc968f770e04f350fb5e01 (patch)
tree3b80f91bd6e60437f4c9b02b9e8f870cd5dc2883
parentMerge pull request #6373 (diff)
parentdepends: set several missing build tags (diff)
downloadmonero-7ca6b550ae8ee54b42cc968f770e04f350fb5e01.tar.xz
Merge pull request #6374
d2c1cb7 depends: set several missing build tags (moneromooo-monero)
-rw-r--r--contrib/depends/toolchain.cmake.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in
index c56f3eb2e..2634423ab 100644
--- a/contrib/depends/toolchain.cmake.in
+++ b/contrib/depends/toolchain.cmake.in
@@ -136,11 +136,21 @@ endif()
if(ARCHITECTURE STREQUAL "i686")
SET(ARCH_ID "i386")
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ set(BUILD_TAG "linux-x86")
SET(LINUX_32 ON)
+ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
+ set(BUILD_TAG "win-x32")
endif()
endif()
if(ARCHITECTURE STREQUAL "x86_64")
+ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ set(BUILD_TAG "linux-x64")
+ elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ set(BUILD_TAG "freebsd-x64")
+ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
+ set(BUILD_TAG "win-x64")
+ endif()
SET(ARCH_ID "x86_64")
endif()