mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
2221638ade
* Fix precence of both libc++ and -static-libstdc++ link flags * cmake: NO_WERROR for ARCH_ARM * Try fix test link * revert * Update CMakeLists.txt
12 lines
377 B
CMake
12 lines
377 B
CMake
include (${ClickHouse_SOURCE_DIR}/cmake/add_check.cmake)
|
|
|
|
foreach (T longjmp siglongjmp)
|
|
add_executable (${T} ${T}.c)
|
|
target_link_libraries (${T} PRIVATE glibc-compatibility)
|
|
if (USE_LIBCXX)
|
|
target_link_libraries (${T} PRIVATE Threads::Threads)
|
|
endif ()
|
|
set_target_properties (${T} PROPERTIES LINKER_LANGUAGE CXX)
|
|
add_check (${T})
|
|
endforeach ()
|