cmake: Add dependency to LibELF
authorVicent Marti <tanoku@gmail.com>
Wed, 20 Apr 2016 11:24:54 +0000 (13:24 +0200)
committerVicent Marti <tanoku@gmail.com>
Wed, 20 Apr 2016 11:24:54 +0000 (13:24 +0200)
commit0612db5fff2f2b14349fa8c9ce55e42ff1d5ea51
treeb1c19081f0bcebf8ebff085ac9f24d2589ddf269
parentff9ff5d6eed016372c590cd2ddde8dd312ddf21d
cmake: Add dependency to LibELF

Add a new a `FindLibElf.cmake` package, and use it to link the main
`libbcc` library against the system's LibELF. This library will be used
to re-implement functionality that was previously dependent on
`binutils`.
CMakeLists.txt
cmake/FindLibElf.cmake [new file with mode: 0644]
src/cc/CMakeLists.txt