1 2 3 4 5 6 7 8 9 10 11 12
--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -374,6 +374,9 @@ find_package( Backtrace ) if ( Backtrace_FOUND ) set ( HAVE_BACKTRACE 1 ) + else () + set ( Backtrace_LIBRARY "" ) + set ( Backtrace_HEADER "" ) endif () endif () check_cxx_source_compiles( "#include <cxxabi.h>