summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdelibs/files/tdelibs-backtrace.patch
blob: 21020b4626784ccdfa51316f4ae0abd1410f87e1 (plain)
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>