Permalink
Browse files

Merge pull request #22938 from tchaikov/wip-bundled-dpdk

cmake: do not depend on ${DPDK_LIBRARIES} if not using bundled dpdk

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information...
tchaikov committed Jul 12, 2018
2 parents 1e9a79d + 1c41870 commit 3e8ddaf30105f98dbd68ddb90eab2261d9e51678
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/CMakeLists.txt
@@ -692,8 +692,9 @@ if(WITH_DPDK)
add_library(common_async_dpdk STATIC
${common_async_dpdk_files})
# to ready the dpdk header files
add_dependencies(common_async_dpdk
${DPDK_LIBRARIES})
if(TARGET dpdk-ext)
add_dependencies(common_async_dpdk dpdk-ext)
endif()
list(APPEND ceph_common_deps common_async_dpdk)
target_link_libraries(common_async_dpdk
${DPDK_LIBRARIES})

0 comments on commit 3e8ddaf

Please sign in to comment.