From 4a7a974a04ba45c4f2cb1c33e4d39ef512863c88 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Tue, 29 Apr 2025 16:31:31 +0800 Subject: [PATCH] More fix for building without tts (#2162) --- sherpa-onnx/csrc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherpa-onnx/csrc/CMakeLists.txt b/sherpa-onnx/csrc/CMakeLists.txt index b9def8c8..52fe3bb3 100644 --- a/sherpa-onnx/csrc/CMakeLists.txt +++ b/sherpa-onnx/csrc/CMakeLists.txt @@ -293,8 +293,8 @@ target_link_libraries(sherpa-onnx-core fstfar fst) if(SHERPA_ONNX_ENABLE_TTS) target_link_libraries(sherpa-onnx-core piper_phonemize) - target_link_libraries(sherpa-onnx-core cppjieba) endif() +target_link_libraries(sherpa-onnx-core cppjieba) if(SHERPA_ONNX_ENABLE_CHECK) target_compile_definitions(sherpa-onnx-core PUBLIC SHERPA_ONNX_ENABLE_CHECK=1)