From 5d2fe7cd917432f3873cc1c7de6648d50d2d9a9f Mon Sep 17 00:00:00 2001 From: hedaoyuan Date: Fri, 20 Oct 2017 11:06:59 +0800 Subject: [PATCH] Fix cc_library paddle_capi_whole. --- paddle/capi/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/capi/CMakeLists.txt b/paddle/capi/CMakeLists.txt index e966d5d8521..4ff82bafad8 100644 --- a/paddle/capi/CMakeLists.txt +++ b/paddle/capi/CMakeLists.txt @@ -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) -- GitLab