Skip to content

Commit de21c27

Browse files
authored
[cherry-pick] add third party libs for cpp infer (PaddlePaddle#6992)
1 parent 92fb8b2 commit de21c27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy/cpp/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ link_directories("${PADDLE_DIR}/third_party/install/protobuf/lib")
7979
link_directories("${PADDLE_DIR}/third_party/install/glog/lib")
8080
link_directories("${PADDLE_DIR}/third_party/install/gflags/lib")
8181
link_directories("${PADDLE_DIR}/third_party/install/xxhash/lib")
82+
link_directories("${PADDLE_DIR}/third_party/install/paddle2onnx/lib")
83+
link_directories("${PADDLE_DIR}/third_party/install/onnxruntime/lib")
8284
link_directories("${PADDLE_DIR}/paddle/lib/")
8385
link_directories("${CMAKE_CURRENT_BINARY_DIR}")
8486

0 commit comments

Comments
 (0)