mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix warning in libunwind
This commit is contained in:
parent
f633c59737
commit
14174ba38f
@ -54,7 +54,7 @@ endif ()
|
|||||||
# Example: DwarfInstructions.hpp: register unsigned long long x16 __asm("x16") = cfa;
|
# Example: DwarfInstructions.hpp: register unsigned long long x16 __asm("x16") = cfa;
|
||||||
check_cxx_compiler_flag(-Wregister HAVE_WARNING_REGISTER)
|
check_cxx_compiler_flag(-Wregister HAVE_WARNING_REGISTER)
|
||||||
if (HAVE_WARNING_REGISTER)
|
if (HAVE_WARNING_REGISTER)
|
||||||
target_compile_options(unwind PRIVATE "$<$<STREQUAL:$<TARGET_PROPERTY:LINKER_LANGUAGE>,CXX>:-Wno-register>")
|
target_compile_options(unwind PRIVATE "$<$<STREQUAL:$<TARGET_PROPERTY:LANGUAGE>,CXX>:-Wno-register>")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
Loading…
Reference in New Issue
Block a user