ClickHouse/cmake/find_execinfo.cmake

9 lines
270 B
CMake
Raw Normal View History

2018-08-05 08:54:57 +00:00
if (OS_FREEBSD)
find_library (EXECINFO_LIBRARY execinfo)
find_library (ELF_LIBRARY elf)
2019-04-22 19:03:11 +00:00
set (EXECINFO_LIBRARIES ${EXECINFO_LIBRARY} ${ELF_LIBRARY})
message (STATUS "Using execinfo: ${EXECINFO_LIBRARIES}")
else ()
2019-04-22 19:03:11 +00:00
set (EXECINFO_LIBRARIES "")
endif ()