vcpkg/ports/dpdk/usage
Kai Pastor df75e76ff4
[dpdk] Fix build, dependencies, usage (#26188)
* Fix static-or-shared patch

* Don't build docs for debug

* Fix dependencies

* Fix tools fixup

* Usage is via 'pkg_check_modules'

* Move docs

* Update versions
2022-08-19 13:53:12 -07:00

7 lines
216 B
Plaintext

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)