release 1.1.1
[awesomized/libmemcached] / CMake / CheckBacktrace.cmake
1 find_package(Backtrace)
2 if(Backtrace_FOUND)
3 configure_set(HAVE_BACKTRACE 1)
4 configure_define_header(Backtrace_HEADER)
5 set(BACKTRACE BACKTRACE)
6 add_library(BACKTRACE INTERFACE IMPORTED)
7 set_target_properties(BACKTRACE PROPERTIES
8 INTERFACE_LINK_LIBRARIES "${Backtrace_LIBRARIES}"
9 INTERFACE_INCLUDE_DIRECTORIES "${Backtrace_INCLUDE_DIR}")
10 endif()