Skip to content

Commit 2a7798b

Browse files
committed
Issue #475: cmake: Find both old and new dwarfutils paths
1 parent 698f612 commit 2a7798b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/FindDwarfutils.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ find_path (DWARFUTILS_INCLUDE_DIR
1010
PATHS
1111
/usr/local/opt/dwarfutils/include/libdwarf-2/
1212
/opt/homebrew/opt/dwarfutils/include/libdwarf-2/
13+
# Old Homebrew paths
14+
/usr/local/opt/dwarfutils/include/libdwarf-0/
15+
/opt/homebrew/opt/dwarfutils/include/libdwarf-0/
1316
ENV CPATH)
1417

1518
find_library (DWARFUTILS_LIBRARY

0 commit comments

Comments
 (0)