Committed by
GitHub
More fix for building without tts (#2162)
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -293,8 +293,8 @@ target_link_libraries(sherpa-onnx-core fstfar fst) | @@ -293,8 +293,8 @@ target_link_libraries(sherpa-onnx-core fstfar fst) | ||
| 293 | 293 | ||
| 294 | if(SHERPA_ONNX_ENABLE_TTS) | 294 | if(SHERPA_ONNX_ENABLE_TTS) |
| 295 | target_link_libraries(sherpa-onnx-core piper_phonemize) | 295 | target_link_libraries(sherpa-onnx-core piper_phonemize) |
| 296 | - target_link_libraries(sherpa-onnx-core cppjieba) | ||
| 297 | endif() | 296 | endif() |
| 297 | +target_link_libraries(sherpa-onnx-core cppjieba) | ||
| 298 | 298 | ||
| 299 | if(SHERPA_ONNX_ENABLE_CHECK) | 299 | if(SHERPA_ONNX_ENABLE_CHECK) |
| 300 | target_compile_definitions(sherpa-onnx-core PUBLIC SHERPA_ONNX_ENABLE_CHECK=1) | 300 | target_compile_definitions(sherpa-onnx-core PUBLIC SHERPA_ONNX_ENABLE_CHECK=1) |
-
请 注册 或 登录 后发表评论