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-23 12:51:27 +00:00
set (EXECINFO_LIBRARIES ${EXECINFO_LIBRARY} ${ELF_LIBRARY})
message (STATUS "Using execinfo: ${EXECINFO_LIBRARIES}")
else ()
2019-04-23 12:51:27 +00:00
set (EXECINFO_LIBRARIES "")
endif ()