Skip to content

Commit 6c32052

Browse files
authored
Merge pull request #10660 from jacquesqiao/add-boost-to-inference
add boost to inference lib
2 parents 74ca73b + 628c8d5 commit 6c32052

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
@@ -70,6 +70,12 @@ copy(glog_lib
7070
DSTS ${dst_dir} ${dst_dir}/lib
7171
)
7272

73+
set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/boost/")
74+
copy(boost_lib
75+
SRCS ${BOOST_INCLUDE_DIR}/boost
76+
DSTS ${dst_dir}
77+
)
78+
7379
if(NOT PROTOBUF_FOUND)
7480
set(dst_dir "${CMAKE_INSTALL_PREFIX}/third_party/install/protobuf")
7581
copy(protobuf_lib

0 commit comments

Comments
 (0)