Jeremy Rifkin 809e93f524
[libdwarf] New port (#34382)
* Try to add libdwarf

* Has

* fix

* hash

* fixes

* hash

* Fixes

* bump hash

* zlib fix

* bump hash

* fix

* bump hash

* fixes

* Bump hash

* fix

* bump

* x

* bump

* fix

* bump

* fix

* bump

* fix

* bump

* fix

* bump

* fix

* bump

* Try this

* bump

* cleanup

* bump

* Update patches

* bump hash

* fix whitespace

* bump

* Update usage

* Bump

* Update portfile and patches (#1)

* Re-introduce off_t patch

* Bump

* Fix patch

* Bump

* Usage is now correct

* Bump

* Revert "Usage is now correct"

This reverts commit 54b32d172de8abd916589f781065c87d3afaaaf2.

* Bump

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2023-10-31 12:31:57 -07:00

5 lines
205 B
Plaintext

libdwarf provides CMake targets:
find_package(libdwarf CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:libdwarf::dwarf-static>,libdwarf::dwarf-static,libdwarf::dwarf-shared>)