Skip to content

Commit 3d0be93

Browse files
authored
fix inference_lib.cmake (#40765)
1 parent d8bff98 commit 3d0be93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmake/inference_lib.cmake

+6
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,12 @@ copy(inference_lib_dist
258258
copy(inference_lib_dist
259259
SRCS ${PADDLE_SOURCE_DIR}/paddle/utils/any.h
260260
DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/utils/)
261+
copy(inference_lib_dist
262+
SRCS ${PADDLE_SOURCE_DIR}/paddle/utils/optional.h
263+
DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/utils/)
264+
copy(inference_lib_dist
265+
SRCS ${PADDLE_SOURCE_DIR}/paddle/utils/none.h
266+
DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/utils/)
261267
copy(inference_lib_dist
262268
SRCS ${PADDLE_SOURCE_DIR}/paddle/extension.h
263269
DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/)

0 commit comments

Comments
 (0)