From 53be3f07e9fef0dfdae5c21741478b848dead971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E6=99=93=E4=BC=9F?= <39303645+Shixiaowei02@users.noreply.github.com> Date: Thu, 13 Feb 2020 09:26:01 +0800 Subject: [PATCH] update internal header files, test=develop (#22379) --- cmake/inference_lib.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/inference_lib.cmake b/cmake/inference_lib.cmake index 565477ccdb..b6893fd2f2 100644 --- a/cmake/inference_lib.cmake +++ b/cmake/inference_lib.cmake @@ -159,6 +159,10 @@ copy(inference_lib_dist SRCS ${src_dir}/inference/api/paddle_*.h ${paddle_fluid_lib} DSTS ${FLUID_INFERENCE_INSTALL_DIR}/paddle/include ${FLUID_INFERENCE_INSTALL_DIR}/paddle/lib) +copy(inference_lib_dist + SRCS ${CMAKE_BINARY_DIR}/paddle/fluid/framework/framework.pb.h + DSTS ${FLUID_INFERENCE_INSTALL_DIR}/paddle/include/internal) + # CAPI inference library for only inference set(FLUID_INFERENCE_C_INSTALL_DIR "${CMAKE_BINARY_DIR}/fluid_inference_c_install_dir" CACHE STRING "A path setting CAPI fluid inference shared") -- GitLab