uhd/host/cmake
Joerg Hofrichter 088cba271e dpdk: find DPDK using pkg-config
The parameters for compiling and linking against DPDK (DPDK_CFLAGS
and DPDK_LDFLAGS or DPDK_INCLUDE_DIRS, DPDK_LIBRARIES and
DPDK_LIBRARY_DIRS) are not trivial to determine and can be best
provided by pkg-config. Therefore, use pkg-config to find DPDK and
do not allow user provided DPDK variables.

To compile UHD against DPDK which was installed to a custom prefix,
e.g. /opt/dpdk-22.11, provide this path as parameter
CMAKE_PREFIX_PATH:

    cmake .. -DCMAKE_PREFIX_PATH=/opt/dpdk-22.11
2024-10-02 14:05:42 +02:00
..
debian Add rfnoc-modtool 2024-09-02 08:22:58 +02:00
Modules dpdk: find DPDK using pkg-config 2024-10-02 14:05:42 +02:00
msvc uhd: Update license headers 2018-02-19 16:54:52 -08:00
redhat cpack: Fix RPM generation 2019-01-28 14:18:44 +01:00
Toolchains cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
vcpkg uhd: enable vcpkg support on windows 2021-03-19 15:40:09 -05:00
cmake_uninstall.cmake.in cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00