diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-03-12 00:57:22 -0700 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-03-12 00:57:22 -0700 |
commit | 2eee9bcdf8aa33c3fd8cee0685ee16a0131c5b59 (patch) | |
tree | 632a167db35903da59c0b830ef56cb43533403c4 /contrib | |
parent | Merge pull request #6244 (diff) | |
parent | depends: set several missing build tags (diff) | |
download | monero-2eee9bcdf8aa33c3fd8cee0685ee16a0131c5b59.tar.xz |
Merge pull request #6251
0eac0c43 depends: set several missing build tags (moneromooo-monero)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/depends/toolchain.cmake.in | 10 |
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() |