From: Pan Liu Date: Mon, 2 Jan 2017 08:41:08 +0000 (+0800) Subject: dpdk: make compilation successful when use dpdk v16.11 X-Git-Tag: v12.0.0~317^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c2cae16cf7283ab6819b4e79896c2b2b51535a3;p=ceph.git dpdk: make compilation successful when use dpdk v16.11 Signed-off-by: Pan Liu --- diff --git a/cmake/modules/Finddpdk.cmake b/cmake/modules/Finddpdk.cmake index d543cf5b490a..6ce9966458d5 100644 --- a/cmake/modules/Finddpdk.cmake +++ b/cmake/modules/Finddpdk.cmake @@ -11,7 +11,7 @@ find_path(DPDK_INCLUDE_DIR rte_config.h find_library(DPDK_rte_hash_LIBRARY rte_hash) find_library(DPDK_rte_kvargs_LIBRARY rte_kvargs) find_library(DPDK_rte_mbuf_LIBRARY rte_mbuf) -find_library(DPDK_ethdev_LIBRARY ethdev) +find_library(DPDK_rte_ethdev_LIBRARY rte_ethdev) find_library(DPDK_rte_mempool_LIBRARY rte_mempool) find_library(DPDK_rte_ring_LIBRARY rte_ring) find_library(DPDK_rte_eal_LIBRARY rte_eal) @@ -27,7 +27,7 @@ set(check_LIBRARIES ${DPDK_rte_hash_LIBRARY} ${DPDK_rte_kvargs_LIBRARY} ${DPDK_rte_mbuf_LIBRARY} - ${DPDK_ethdev_LIBRARY} + ${DPDK_rte_ethdev_LIBRARY} ${DPDK_rte_mempool_LIBRARY} ${DPDK_rte_ring_LIBRARY} ${DPDK_rte_eal_LIBRARY} @@ -43,7 +43,7 @@ mark_as_advanced(DPDK_INCLUDE_DIR DPDK_rte_hash_LIBRARY DPDK_rte_kvargs_LIBRARY DPDK_rte_mbuf_LIBRARY - DPDK_ethdev_LIBRARY + DPDK_rte_ethdev_LIBRARY DPDK_rte_mempool_LIBRARY DPDK_rte_ring_LIBRARY DPDK_rte_eal_LIBRARY