From 7157bf5da081e1fd9e1b97caa30efaf515675d7a Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 8 Feb 2024 22:38:53 +0800 Subject: [PATCH] Fix CI --- 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 64c066936..a6527bc54 100644 --- a/sherpa-onnx/csrc/CMakeLists.txt +++ b/sherpa-onnx/csrc/CMakeLists.txt @@ -172,7 +172,7 @@ if(NOT BUILD_SHARED_LIBS AND CMAKE_SYSTEM_NAME STREQUAL Linux) target_link_libraries(sherpa-onnx-core -ldl) endif() -if(NOT WIN32 AND NOT SHERPA_ONNX_ENABLE_WASM AND NOT BUILD_SHARED_LIBS) +if(NOT WIN32 AND NOT SHERPA_ONNX_ENABLE_WASM AND BUILD_SHARED_LIBS) target_link_libraries(sherpa-onnx-core -pthread) endif()