提交 5d2fe7cd 编写于 作者: H hedaoyuan

Fix cc_library paddle_capi_whole.

上级 56d5db8b
......@@ -38,7 +38,6 @@ if(MOBILE_INFERENCE)
paddle_function
paddle_gserver
paddle_proto)
cc_library(paddle_capi_whole DEPS paddle_capi ${PADDLE_CAPI_INFER_LIBS})
else()
set(PADDLE_CAPI_INFER_LIBS
paddle_utils
......@@ -50,8 +49,8 @@ else()
paddle_proto
paddle_pserver
paddle_network)
cc_library(paddle_capi_whole DEPS paddle_capi ${PADDLE_CAPI_INFER_LIBS})
endif()
cc_library(paddle_capi_whole DEPS paddle_capi ${PADDLE_CAPI_INFER_LIBS})
# Link the static library for inference
cc_library(paddle_capi_engine DEPS paddle_capi paddle_utils paddle_parameter paddle_math paddle_cuda paddle_proto)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册