mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Also check processor
This commit is contained in:
parent
1d40833a3b
commit
a159376a96
@ -27,8 +27,8 @@ endif ()
|
|||||||
# will try to configure NATIVE LLVM targets with all tests enabled (You'll see
|
# will try to configure NATIVE LLVM targets with all tests enabled (You'll see
|
||||||
# Building native llvm-tblgen...).
|
# Building native llvm-tblgen...).
|
||||||
#
|
#
|
||||||
# Here we set it manually by checking system name.
|
# Here we set it manually by checking system name and processor.
|
||||||
if (${CMAKE_SYSTEM_NAME} STREQUAL ${CMAKE_HOST_SYSTEM_NAME})
|
if (${CMAKE_SYSTEM_NAME} STREQUAL ${CMAKE_HOST_SYSTEM_NAME} AND ${CMAKE_SYSTEM_PROCESSOR} STREQUAL ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
||||||
set (CMAKE_CROSSCOMPILING 0)
|
set (CMAKE_CROSSCOMPILING 0)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user