diff --git a/c-api-examples/CMakeLists.txt b/c-api-examples/CMakeLists.txt index 9c84932f2..36d7b4e42 100644 --- a/c-api-examples/CMakeLists.txt +++ b/c-api-examples/CMakeLists.txt @@ -9,10 +9,10 @@ if(SHERPA_ONNX_ENABLE_TTS) target_link_libraries(offline-tts-c-api sherpa-onnx-c-api cargs) add_executable(matcha-tts-zh-c-api matcha-tts-zh-c-api.c) - target_link_libraries(matcha-tts-zh-c-api sherpa-onnx-c-api cargs) + target_link_libraries(matcha-tts-zh-c-api sherpa-onnx-c-api) add_executable(matcha-tts-en-c-api matcha-tts-en-c-api.c) - target_link_libraries(matcha-tts-en-c-api sherpa-onnx-c-api cargs) + target_link_libraries(matcha-tts-en-c-api sherpa-onnx-c-api) endif() if(SHERPA_ONNX_ENABLE_SPEAKER_DIARIZATION)