From 3d0be938773ca3629bd0f8480d68da2afe28c011 Mon Sep 17 00:00:00 2001 From: JingZhuangzhuang <75348594+JZZ-NOTE@users.noreply.github.com> Date: Wed, 23 Mar 2022 12:57:06 +0800 Subject: [PATCH] fix inference_lib.cmake (#40765) --- cmake/inference_lib.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmake/inference_lib.cmake b/cmake/inference_lib.cmake index 851bd81403..cafd1406b2 100644 --- a/cmake/inference_lib.cmake +++ b/cmake/inference_lib.cmake @@ -258,6 +258,12 @@ copy(inference_lib_dist copy(inference_lib_dist SRCS ${PADDLE_SOURCE_DIR}/paddle/utils/any.h DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/utils/) +copy(inference_lib_dist + SRCS ${PADDLE_SOURCE_DIR}/paddle/utils/optional.h + DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/utils/) + copy(inference_lib_dist + SRCS ${PADDLE_SOURCE_DIR}/paddle/utils/none.h + DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/utils/) copy(inference_lib_dist SRCS ${PADDLE_SOURCE_DIR}/paddle/extension.h DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/) -- GitLab