From: Matthew Smith Date: Mon, 1 Apr 2019 23:38:59 +0000 (-0500) Subject: dpdk: fix build error when mlx support enabled X-Git-Tag: v19.04-rc1~76 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=72491e2a17620d06ec72d49c008e31b7c8e16c98;p=vpp.git dpdk: fix build error when mlx support enabled When building with environment variables set to enable mlx PMD support in DPDK, an error occurs: CMake Error at plugins/dpdk/CMakeLists.txt:104 (vpp_plugin_find_library): vpp_plugin_find_library Macro invoked with incorrect arguments for macro named: vpp_plugin_find_library Update a call to vpp_plugin_find_library() to include the right number of parameters. Change-Id: Ia0d66f93c6f94fdf822e2c3c4fe3f0ad01a90d57 Signed-off-by: Matthew Smith --- diff --git a/src/plugins/dpdk/CMakeLists.txt b/src/plugins/dpdk/CMakeLists.txt index 76b22a9704c..1818adaea61 100644 --- a/src/plugins/dpdk/CMakeLists.txt +++ b/src/plugins/dpdk/CMakeLists.txt @@ -101,7 +101,7 @@ endif() # Mellanox libraries ############################################################################## if(DPDK_RTE_LIBRTE_MLX4_PMD OR DPDK_RTE_LIBRTE_MLX5_PMD) - vpp_plugin_find_library(MNL_LIB "mnl") + vpp_plugin_find_library(dpdk MNL_LIB "mnl") list(APPEND DPDK_LINK_LIBRARIES "${MNL_LIB}") if (DPDK_RTE_IBVERBS_LINK_DLOPEN) message(STATUS "DPDK depends on libmnl (Mellanox PMD requirement)")