mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Minor change
This commit is contained in:
parent
d0f7a10c6a
commit
b1ea87907c
@ -24,7 +24,7 @@ endif()
|
|||||||
execute_process(COMMAND uname -s OUTPUT_VARIABLE OS)
|
execute_process(COMMAND uname -s OUTPUT_VARIABLE OS)
|
||||||
execute_process(COMMAND uname -m OUTPUT_VARIABLE ARCH)
|
execute_process(COMMAND uname -m OUTPUT_VARIABLE ARCH)
|
||||||
|
|
||||||
if (OS MATCHES "Linux" AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)
|
if (OS MATCHES "Linux" AND NOT DEFINED CMAKE_TOOLCHAIN_FILE AND NOT UNBUNDLED)
|
||||||
if (ARCH MATCHES "amd64|x86_64")
|
if (ARCH MATCHES "amd64|x86_64")
|
||||||
set (CMAKE_TOOLCHAIN_FILE "cmake/linux/toolchain-x86_64.cmake" CACHE INTERNAL "" FORCE)
|
set (CMAKE_TOOLCHAIN_FILE "cmake/linux/toolchain-x86_64.cmake" CACHE INTERNAL "" FORCE)
|
||||||
elseif (ARCH MATCHES "^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)")
|
elseif (ARCH MATCHES "^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)")
|
||||||
|
Loading…
Reference in New Issue
Block a user