| | |
| | | add_library(funasr SHARED ${files}) |
| | | |
| | | if(WIN32) |
| | | set(EXTRA_LIBS pthread yaml-cpp csrc glog) |
| | | set(EXTRA_LIBS pthread yaml-cpp csrc fst glog gflags) |
| | | if(CMAKE_CL_64) |
| | | target_link_directories(funasr PUBLIC ${CMAKE_SOURCE_DIR}/win/lib/x64) |
| | | else() |
| | |
| | | |
| | | target_compile_definitions(funasr PUBLIC -D_FUNASR_API_EXPORT) |
| | | else() |
| | | set(EXTRA_LIBS pthread yaml-cpp csrc glog avutil avcodec avformat swresample) |
| | | set(EXTRA_LIBS pthread yaml-cpp csrc fst glog gflags avutil avcodec avformat swresample) |
| | | include_directories(${ONNXRUNTIME_DIR}/include) |
| | | include_directories(${FFMPEG_DIR}/include) |
| | | endif() |