From 346e3a7e174bd19233c810dddc99e23c80e34bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Cl=E1udio=20R=2E=20Gon=E7alves?= Date: Sun, 7 Jan 2007 23:56:43 -0200 Subject: [PATCH] [CMAKE]: Fix build on ubuntu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Luis Cláudio R. Gonçalves Signed-off-by: Arnaldo Carvalho de Melo --- cmake/modules/FindDWARF.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/modules/FindDWARF.cmake b/cmake/modules/FindDWARF.cmake index aae3bd9..3420b5e 100644 --- a/cmake/modules/FindDWARF.cmake +++ b/cmake/modules/FindDWARF.cmake @@ -13,6 +13,7 @@ ENDIF (DWARF_INCLUDE_DIR) FIND_PATH(DWARF_INCLUDE_DIR dwarf.h /usr/local/include + /usr/include/libdwarf /usr/include ) @@ -23,7 +24,7 @@ FIND_PATH(LIBDW_INCLUDE_DIR libdw.h /usr/local/include/elfutils) FIND_LIBRARY(DWARF_LIBRARY - NAMES dw + NAMES dw dwarf PATHS /usr/lib /usr/local/lib /usr/lib64 /usr/local/lib64 )