From d8508466122537c9d121983d55a99f99437c0fb1 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Mon, 25 Jul 2022 13:52:20 +0800 Subject: [PATCH] =?UTF-8?q?cmake:=20=E6=A3=80=E6=9F=A5=20target=20?= =?UTF-8?q?=E6=9D=A5=E7=A1=AE=E8=AE=A4=E5=8A=9F=E8=83=BD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E5=B7=B2=E5=90=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 71b2696b..5b96fa93 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -27,7 +27,7 @@ aux_source_directory(. TEST_SRC_LIST) foreach(TEST_SRC ${TEST_SRC_LIST}) get_filename_component(TEST_EXE_NAME ${TEST_SRC} NAME_WE) - if(NOT ENABLE_WEBRTC) + if(NOT TARGET ZLMediaKit::WebRTC) # 暂时过滤掉依赖 WebRTC 的测试模块 if("${TEST_EXE_NAME}" MATCHES "test_rtcp_nack") continue()