diff --git a/deploy/cpp/CMakeLists.txt b/deploy/cpp/CMakeLists.txt index e860efd689625992a14a275e83db3104c153f8b9..34f8808d53e085c43048c4955a5715d663e4291e 100644 --- a/deploy/cpp/CMakeLists.txt +++ b/deploy/cpp/CMakeLists.txt @@ -79,6 +79,8 @@ link_directories("${PADDLE_DIR}/third_party/install/protobuf/lib") link_directories("${PADDLE_DIR}/third_party/install/glog/lib") link_directories("${PADDLE_DIR}/third_party/install/gflags/lib") link_directories("${PADDLE_DIR}/third_party/install/xxhash/lib") +link_directories("${PADDLE_DIR}/third_party/install/paddle2onnx/lib") +link_directories("${PADDLE_DIR}/third_party/install/onnxruntime/lib") link_directories("${PADDLE_DIR}/paddle/lib/") link_directories("${CMAKE_CURRENT_BINARY_DIR}")