]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: Add shared library as dpdk dependency 31841/head
authorluo rixin <luorixin@huawei.com>
Thu, 28 Nov 2019 12:18:09 +0000 (20:18 +0800)
committerluo rixin <luorixin@huawei.com>
Thu, 28 Nov 2019 12:18:09 +0000 (20:18 +0800)
commit32f967b420a5e2f58844f559731a8f8f1b123705
tree22c5e8cd977e8c3852484bac043c1dd8443f20ec
parent4f3606f87ba9cf745a6288985c4e6484da2cdfe8
cmake: Add shared library as dpdk dependency

librte_eal.a refers to libpthread.so and libdl.so, and libceph-common.so
refers to librte_eal.a. Many test application link libceph-common.so
without linking pthread, it will cause link error.
Such as unittest_interval_set, target_link_libraries (unittest_interval_set
ceph-common)

Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
cmake/modules/BuildDPDK.cmake