mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
add:增加Audio子目录及对应的库
This commit is contained in:
parent
0263bb9b50
commit
d4b3036446
@ -49,6 +49,8 @@ endif()
|
|||||||
aux_source_directory(. TEST_SRC_LIST)
|
aux_source_directory(. TEST_SRC_LIST)
|
||||||
#如果ffmpeg/libavcodec ffmpeg/libavcodec SDL 都安装了则编译 test_player
|
#如果ffmpeg/libavcodec ffmpeg/libavcodec SDL 都安装了则编译 test_player
|
||||||
if(SDL2_FOUND AND AVCODEC_FOUND AND AVUTIL_FOUND)
|
if(SDL2_FOUND AND AVCODEC_FOUND AND AVUTIL_FOUND)
|
||||||
|
add_subdirectory(Audio)
|
||||||
|
list(APPEND LINK_LIB_LIST audioPlayer )
|
||||||
else()
|
else()
|
||||||
message(STATUS "test_player ingored, please install sdl2 ffmpeg/libavcodec ffmpeg/libavutil")
|
message(STATUS "test_player ingored, please install sdl2 ffmpeg/libavcodec ffmpeg/libavutil")
|
||||||
list(REMOVE_ITEM TEST_SRC_LIST ./test_player.cpp)
|
list(REMOVE_ITEM TEST_SRC_LIST ./test_player.cpp)
|
||||||
|
Loading…
Reference in New Issue
Block a user