Extend error message.
authorMilian Wolff <mail@milianw.de>
Tue, 16 Aug 2016 08:08:48 +0000 (10:08 +0200)
committerMilian Wolff <mail@milianw.de>
Tue, 16 Aug 2016 08:08:48 +0000 (10:08 +0200)
If dwarf.h is not found, then either elfutils-dev or libdwarf-dev need to be installed

3rdparty/libbacktrace/CMakeLists.txt

index b839ae2..1b62c4a 100644 (file)
@@ -160,7 +160,7 @@ include (CheckIncludeFile)
 find_path(DWARF_INCLUDE_DIR dwarf.h
       PATH_SUFFIXES libdwarf)
 if (NOT DWARF_INCLUDE_DIR)
-    message(FATAL_ERROR "Could not find dwarf.h, try installing the elfutils development package.")
+    message(FATAL_ERROR "Could not find dwarf.h, try installing the dwarf or elfutils development package.")
 endif ()
 include_directories(${DWARF_INCLUDE_DIR})