From 987a908f294f9c96c8d7c1def850cd3945e39c65 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Thu, 12 Jan 2017 14:27:24 +0800 Subject: [PATCH] Fix a bug, should be ALL in custom_target --- paddle/capi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/capi/CMakeLists.txt b/paddle/capi/CMakeLists.txt index 3827791571..172be7b122 100644 --- a/paddle/capi/CMakeLists.txt +++ b/paddle/capi/CMakeLists.txt @@ -32,7 +32,7 @@ add_dependencies(paddle_capi gen_proto_cpp) # combine all paddle static libraries together, into libpaddle_capi_whole.a # user should use PaddleCAPI as -lpaddle_capi_whole set(capi_whole_library libpaddle_capi_whole.a) -add_custom_target(paddle_capi_whole +add_custom_target(paddle_capi_whole ALL COMMAND mkdir -p o_files/capi && cd o_files/capi/ && ar -x $ COMMAND mkdir -p o_files/utils && cd o_files/utils/ && ar -x $ COMMAND mkdir -p o_files/parameter && cd o_files/parameter/ && ar -x $ -- GitLab