Skip to content

Commit

Permalink
[Inference] Fix libcommon not found (#59048)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalsliu authored Nov 17, 2023
1 parent 50b5ec0 commit 937266a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/inference_lib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,11 @@ else()
SRCS ${paddle_pir_lib}
DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/lib)
endif()
set(paddle_common_lib ${PADDLE_BINARY_DIR}/paddle/common/libcommon.*)
copy(
inference_lib_dist
SRCS ${paddle_common_lib}
DSTS ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/lib)
endif()

copy(
Expand Down

0 comments on commit 937266a

Please sign in to comment.