Skip to content

Commit

Permalink
Address warnings in ano dpdk manager (#645)
Browse files Browse the repository at this point in the history
linkding dir as target

Signed-off-by: Alexis Girault <agirault@nvidia.com>
Co-authored-by: Julien Jomier <jjomier@nvidia.com>
  • Loading branch information
agirault and jjomier authored Dec 17, 2024
1 parent def0c6a commit 158af75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion operators/advanced_network/managers/dpdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ if(NOT DPDK_FOUND)
target_link_libraries(${PROJECT_NAME} PUBLIC holoscan::core ${DPDK_LDFLAGS_OTHER} ${DPDK_LIBRARIES})
else() # Upstream DPDK
set(DPDK_EXTRA_LIBS -Wl,--no-whole-archive -lmlx5 -libverbs -pthread -lnuma -ldl)
target_link_libraries(${PROJECT_NAME} PUBLIC holoscan::core -L${DPDK_LIBRARY_DIRS} ${DPDK_EXTRA_LIBS} ${DPDK_LIBRARIES})
target_link_directories(${PROJECT_NAME} PUBLIC ${DPDK_LIBRARY_DIRS})
target_link_libraries(${PROJECT_NAME} PUBLIC holoscan::core ${DPDK_EXTRA_LIBS} ${DPDK_LIBRARIES})
endif()

set_target_properties(${PROJECT_NAME} PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
Expand Down

0 comments on commit 158af75

Please sign in to comment.