Portable, high level programming interface to various calling conventions
vcpkg provides proprietary CMake targets:
find_package(unofficial-libffi CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::libffi::libffi)
libffi provides pkg-config modules:
# Library supporting Foreign Function Interfaces
libffi
v3.4.8#0
All
MIT
Manifest