llvm-project
42595d34 - [llvm] [cmake] Use pkg-config to obtain libffi search hints (#144221)

Commit
145 days ago
[llvm] [cmake] Use pkg-config to obtain libffi search hints (#144221) Extend `FindFFI.cmake` to include the paths obtained from pkg-config when searching for libffi. This is going to help systems where libffi is installed in nonstandard directory such as Gentoo, saving us from having to copy the paths from pkg-config to `FFI_*` variables explicitly. The logic is inspired by `FindLibEdit.cmake`.
Author
Parents
Loading