From 6e9e22dbeede3c39ebf52892d8d10ccbc470e0bc Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Mon, 24 Apr 2017 21:54:09 +0800 Subject: [PATCH] Fix function module does not wait protobuf header generate. * Fix #1877 --- paddle/function/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/function/CMakeLists.txt b/paddle/function/CMakeLists.txt index 1522510e8bb..233a53709a8 100644 --- a/paddle/function/CMakeLists.txt +++ b/paddle/function/CMakeLists.txt @@ -12,7 +12,7 @@ endif() add_library(paddle_function STATIC ${cpp_files} ${cu_objs}) add_dependencies(paddle_function ${external_project_dependencies}) - +add_dependencies(paddle_function gen_proto_cpp) if(WITH_GPU) if(WITH_TESTING) -- GitLab