vcpkg/ports/dpdk/usage

7 lines
216 B
Plaintext
Raw Normal View History

The package dpdk can be imported via CMake FindPkgConfig module:
find_package(PkgConfig)
pkg_check_modules(DPDK REQUIRED IMPORTED_TARGET libdpdk)
target_link_libraries(main PRIVATE PkgConfig::DPDK)