雾聪
2024-03-14 39b6701ba96b6e0b890f1fcdd5f3397a3a6f491f
runtime/onnxruntime/src/CMakeLists.txt
@@ -25,7 +25,11 @@
    include_directories(${FFMPEG_DIR}/include)
endif()
if(GPU)
    set(TORCH_DEPS torch torch_cuda torch_cpu c10 c10_cuda torch_blade ral_base_context)
endif()
#message("CXX_FLAGS "${CMAKE_CXX_FLAGS})
include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR}/third_party)
target_link_libraries(funasr PUBLIC onnxruntime ${EXTRA_LIBS})
target_link_libraries(funasr PUBLIC onnxruntime ${EXTRA_LIBS} ${TORCH_DEPS})