Refactor onnxruntime.cmake (#220)

This commit is contained in:
Fangjun Kuang
2023-07-18 15:44:54 +08:00
committed by GitHub
parent bd74e1c4e5
commit 6125d9e063
17 changed files with 961 additions and 248 deletions

View File

@@ -125,6 +125,10 @@ else()
install(TARGETS sherpa-onnx-core DESTINATION lib)
endif()
if(WIN32 AND BUILD_SHARED_LIBS)
install(TARGETS sherpa-onnx-core DESTINATION bin)
endif()
install(
TARGETS
sherpa-onnx