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()