Skip to content

Commit 11a8814

Browse files
committed
add pybind.h to inference lib for static link
1 parent 9707aa6 commit 11a8814

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmake/inference_lib.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,10 @@ copy(string_lib
148148
DSTS ${dst_dir}/${module} ${dst_dir}/${module}/tinyformat
149149
)
150150

151+
set(module "pybind")
152+
copy(pybind_lib
153+
SRCS ${src_dir}/${module}/pybind.h
154+
DSTS ${dst_dir}/${module}
155+
)
156+
151157
add_custom_target(inference_lib_dist DEPENDS ${inference_lib_dist_dep})

0 commit comments

Comments
 (0)