From d4b303644630346340753266917b44a85aa51b58 Mon Sep 17 00:00:00 2001 From: DoubleX69 Date: Mon, 28 Jun 2021 17:51:58 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=9A=E5=A2=9E=E5=8A=A0Audio=E5=AD=90?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E5=8F=8A=E5=AF=B9=E5=BA=94=E7=9A=84=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index c01fd5d8..7797d998 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -49,6 +49,8 @@ endif() aux_source_directory(. TEST_SRC_LIST) #如果ffmpeg/libavcodec ffmpeg/libavcodec SDL 都安装了则编译 test_player if(SDL2_FOUND AND AVCODEC_FOUND AND AVUTIL_FOUND) + add_subdirectory(Audio) + list(APPEND LINK_LIB_LIST audioPlayer ) else() message(STATUS "test_player ingored, please install sdl2 ffmpeg/libavcodec ffmpeg/libavutil") list(REMOVE_ITEM TEST_SRC_LIST ./test_player.cpp)