From a85ca79a1d97a98dfaab59a0f9d1ce2ecc014e7c Mon Sep 17 00:00:00 2001 From: wuyi05 Date: Mon, 12 Jun 2017 09:40:04 +0800 Subject: [PATCH] make swig link RDMA libs if RDMA enabled --- paddle/api/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/api/CMakeLists.txt b/paddle/api/CMakeLists.txt index e14765956..071bc36c2 100644 --- a/paddle/api/CMakeLists.txt +++ b/paddle/api/CMakeLists.txt @@ -41,6 +41,7 @@ SET(SWIG_MODULE_swig_paddle_EXTRA_DEPS paddle_network paddle_proto ${external_project_dependencies} + ${RDMA_LIBS} ) IF(APPLE) @@ -73,6 +74,7 @@ SWIG_LINK_LIBRARIES(swig_paddle ${CMAKE_DL_LIBS} ${EXTERNAL_LIBS} ${CMAKE_THREAD_LIBS_INIT} + ${RDMA_LD_FLAGS} ${START_END} ) -- GitLab