diff --git a/runtime/openvino/CMakeLists.txt b/runtime/openvino/CMakeLists.txt index 0ad353370..03571804e 100644 --- a/runtime/openvino/CMakeLists.txt +++ b/runtime/openvino/CMakeLists.txt @@ -15,6 +15,7 @@ option(TORCH "whether to build with Torch" OFF) option(ONNX "whether to build with ONNX" OFF) option(GPU "whether to build with GPU" OFF) option(OPENVINO "whether to build with OpenVINO" ON) +option(ITN "whether to use WeTextProcessing" ON) set(CMAKE_VERBOSE_MAKEFILE OFF) @@ -41,6 +42,10 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/kaldi ) +if(ITN) + include(wetextprocessing) +endif() + # Build all libraries add_subdirectory(utils) add_subdirectory(frontend)