I'm looking at the documentation for the FindBacktrace module, and unlike with, say, FindThreads - I see no mention of a proper library target I can depend on, e.g. Backtrace::Backtrace
. Is it really missing or just undocumented?
Also, when I use this module, I get:
//Library providing backtrace(3), empty for default set of libraries
Backtrace_LIBRARY:FILEPATH=
in my CMakeCache.txt
(on a Devuan GNU/Linux machine). This is weird. I'm expecting to see -lbacktrace
- because that's where I get backtrace_create_state
and backtrace_pcinfo
(which I need for using Boost stacktrace).
So, what is the "default set of libraries"? libbacktrace
is certainly not linked against by default.