Skip to content

Commit

Permalink
add missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Sep 26, 2023
1 parent 4a0ca9b commit ffc044f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sherpa-onnx/csrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ endif()
target_link_libraries(sherpa-onnx-core kaldi-native-fbank-core)

if(BUILD_SHARED_LIBS OR APPLE OR CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL arm)
target_link_libraries(sherpa-onnx-core onnxruntime)
if (TARGET onnxruntime)
target_link_libraries(sherpa-onnx-core onnxruntime)
endif()
else()
target_link_libraries(sherpa-onnx-core ${onnxruntime_lib_files})
endif()
Expand Down

0 comments on commit ffc044f

Please sign in to comment.