ClickHouse/cmake/find_execinfo.cmake

7 lines
187 B
CMake

if (CMAKE_SYSTEM MATCHES "FreeBSD")
find_library (EXECINFO_LIBRARY execinfo)
message (STATUS "Using execinfo: ${EXECINFO_LIBRARY}")
else ()
set (EXECINFO_LIBRARY "")
endif ()