From 84737cd9960bd49f945d91d97842065b9b09d614 Mon Sep 17 00:00:00 2001 From: chenqianhe <1278095698@qq.com> Date: Sat, 4 Feb 2023 18:10:38 +0800 Subject: [PATCH] addon: remove build WHISPER_BUILD_TESTS --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cb32fb..d41252f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -242,7 +242,7 @@ add_subdirectory(bindings) # programs, examples and tests # -if (WHISPER_BUILD_TESTS) +if (WHISPER_BUILD_TESTS AND NOT CMAKE_JS_VERSION) enable_testing() add_subdirectory(tests) endif ()