]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: define dpdk_LIBRARIES properly
authorKefu Chai <kchai@redhat.com>
Thu, 24 Oct 2019 06:10:32 +0000 (14:10 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 24 Oct 2019 07:15:51 +0000 (15:15 +0800)
commitaa25f6202f8d2f75ac005382c69f4cf4001ebce3
tree3bca51e2728b1cbb59e6e7c916f232b6a4c93b77
parentd82ea5d738282ad0b418fc30b1179a9cab9bc290
cmake: define dpdk_LIBRARIES properly

dpdk_LIBRARIES should not be a list of dpdk library target, it should be
a list of paths to them. this also align with the definition of
`Finddpdk.cmake` in seastar project. so, if `Seastar_DPDK` is defined,
we should be able to offer the expected `dpdk_LIBRARIES` for seastar, as
our `Finddpdk.cmake` has higher priority than the one in seastar, and is
used when `find_package(dpdk...)` is called.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/Finddpdk.cmake