]> git.cworth.org Git - apitrace/blobdiff - CMakeLists.txt
common: dump backtrace on signals
[apitrace] / CMakeLists.txt
index b2de6bbc0844c16c6786c84bcc04781d24a8d406..15fff3f337f6e8d9282dcd1f4acee7fbd646387e 100644 (file)
@@ -268,7 +268,7 @@ endif ()
 if (CMAKE_EXECUTABLE_FORMAT STREQUAL "ELF")
     add_subdirectory (thirdparty/libbacktrace)
     include_directories (${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/libbacktrace)
-    set (LIBBACKTRACE_LIBRARIES backtrace)
+    set (LIBBACKTRACE_LIBRARIES dl backtrace)
 endif ()
 
 # Always use bundled QJSon.