fix building on linux with GPU (#249)

This commit is contained in:
Fangjun Kuang
2023-08-09 20:21:28 +08:00
committed by GitHub
parent 92bfee0424
commit 6061318e3f
4 changed files with 197 additions and 2 deletions

View File

@@ -90,6 +90,7 @@ endif()
if(SHERPA_ONNX_ENABLE_GPU)
target_link_libraries(sherpa-onnx-core
onnxruntime_providers_cuda
onnxruntime_providers_shared
)
endif()