From 11a88147588152d98c8c6f2c01fbbf209579c2bb Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Wed, 16 May 2018 14:42:41 +0800 Subject: [PATCH] add pybind.h to inference lib for static link --- cmake/inference_lib.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmake/inference_lib.cmake b/cmake/inference_lib.cmake index 06a7ae5682..4d67be20a7 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 ${src_dir}/${module}/pybind.h + DSTS ${dst_dir}/${module} +) + add_custom_target(inference_lib_dist DEPENDS ${inference_lib_dist_dep}) -- GitLab