diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fc76284..48960b86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -393,9 +393,10 @@ if(SHERPA_ONNX_ENABLE_TTS) set(ESPEAK_NG_DIR ${espeak_ng_SOURCE_DIR}) message(STATUS "ESPEAK_NG_DIR: ${ESPEAK_NG_DIR}") include(piper-phonemize) - include(cppjieba) # For Chinese TTS. It is a header-only C++ library endif() +include(cppjieba) # It is a header-only C++ library + if(SHERPA_ONNX_ENABLE_SPEAKER_DIARIZATION) include(hclust-cpp) endif()