]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
dpdk: make compilation successful when use dpdk v16.11
authorPan Liu <pan.liu@istuary.com>
Mon, 2 Jan 2017 08:41:08 +0000 (16:41 +0800)
committerPan Liu <pan.liu@istuary.com>
Mon, 2 Jan 2017 08:41:08 +0000 (16:41 +0800)
Signed-off-by: Pan Liu <pan.liu@istuary.com>
cmake/modules/Finddpdk.cmake

index d543cf5b490ad9d7803757ba07ab66177036a30f..6ce9966458d56c2b33e035b1fdf11fb66095d3b2 100644 (file)
@@ -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