diff --git a/cmake/inference_lib.cmake b/cmake/inference_lib.cmake index 06a7ae56827d5afe857ed0a98092210917a52430..807a48a41f72f17944dc1be5b793b0ca7d70c527 100644 --- a/cmake/inference_lib.cmake +++ b/cmake/inference_lib.cmake @@ -148,4 +148,10 @@ copy(string_lib DSTS ${dst_dir}/${module} ${dst_dir}/${module}/tinyformat ) +set(module "pybind") +copy(pybind_lib + SRCS ${CMAKE_CURRENT_BINARY_DIR}/paddle/fluid/${module}/pybind.h + DSTS ${dst_dir}/${module} +) + add_custom_target(inference_lib_dist DEPENDS ${inference_lib_dist_dep})