More fix for building without tts (#2162)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user