From 4365b24e2f354d37a40dacb29c87864a5b28b139 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Fri, 6 Jul 2018 21:27:46 +0800 Subject: [PATCH] Add patches to grpc --- cmake/external/grpc.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/external/grpc.cmake b/cmake/external/grpc.cmake index 0c7db6a44..82437a842 100644 --- a/cmake/external/grpc.cmake +++ b/cmake/external/grpc.cmake @@ -49,7 +49,8 @@ ExternalProject_Add( PREFIX ${GRPC_SOURCES_DIR} UPDATE_COMMAND "" CONFIGURE_COMMAND "" - PATCH_COMMAND "git apply ${PADDLE_SOURCE_DIR}/patches/grpc/fix_too_early_destory.patch" + BUILD_IN_SOURCE 1 + PATCH_COMMAND git apply ${PADDLE_SOURCE_DIR}/patches/grpc/fix_too_early_destory.patch # NOTE(yuyang18): # Disable -Werror, otherwise the compile will fail in MacOS. # It seems that we cannot configure that by make command. -- GitLab