[CMAKE]: Fix build on ubuntu

Signed-off-by: Luis Cludio R. Gonalves <lclaudio@unix.sh>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Luis Cludio R. Gonalves 2007-01-07 23:56:43 -02:00 committed by Arnaldo Carvalho de Melo
parent 0872d8e312
commit 346e3a7e17

View File

@ -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
)