From 390f2e0e68cb00ef79505cc46e6ab1987a53dca4 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Sun, 24 Nov 2024 16:21:17 +0800 Subject: [PATCH] Fix building --- 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 be47a27e6..b3c1617e3 100644 --- a/sherpa-onnx/csrc/CMakeLists.txt +++ b/sherpa-onnx/csrc/CMakeLists.txt @@ -207,7 +207,7 @@ target_link_libraries(sherpa-onnx-core kaldi-decoder-core ssentencepiece_core ) -if(DEFINED OHOS AND ${OHOS} STREQUAL OHOS) +if(DEFINED OHOS AND x${OHOS} STREQUAL xOHOS) target_link_libraries(sherpa-onnx-core hilog_ndk.z rawfile.z