mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Cmake: find_unwind: Fix disable on arm
This commit is contained in:
parent
731b4b4728
commit
0490a268f7
@ -1,7 +1,7 @@
|
||||
include (CMakePushCheckState)
|
||||
cmake_push_check_state ()
|
||||
|
||||
if (CMAKE_SYSTEM MATCHES "Linux" AND NOT ARM)
|
||||
if (CMAKE_SYSTEM MATCHES "Linux" AND NOT ARCH_ARM)
|
||||
option (USE_INTERNAL_UNWIND_LIBRARY "Set to FALSE to use system unwind library instead of bundled" ${NOT_UNBUNDLED})
|
||||
else ()
|
||||
option (USE_INTERNAL_UNWIND_LIBRARY "Set to FALSE to use system unwind library instead of bundled" OFF)
|
||||
@ -34,7 +34,7 @@ endif ()
|
||||
|
||||
if (UNWIND_LIBRARY AND UNWIND_INCLUDE_DIR)
|
||||
set (USE_UNWIND 1)
|
||||
elseif (CMAKE_SYSTEM MATCHES "Linux" AND NOT ARM)
|
||||
elseif (CMAKE_SYSTEM MATCHES "Linux" AND NOT ARCH_ARM)
|
||||
set (USE_INTERNAL_UNWIND_LIBRARY 1)
|
||||
set (UNWIND_INCLUDE_DIR "${ClickHouse_SOURCE_DIR}/contrib/libunwind/include")
|
||||
set (UNWIND_LIBRARY unwind)
|
||||
|
Loading…
Reference in New Issue
Block a user