mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
未找到依赖库时,关闭编译test_player
This commit is contained in:
parent
ebb7aeef9b
commit
4ec311652a
@ -79,6 +79,7 @@ if (SDL2_FOUND AND AVCODEC_FOUND AND AVUTIL_FOUND AND SWRESAMPLE_FOUND)
|
||||
message(STATUS "${PLAYER_NAME} enabled")
|
||||
else ()
|
||||
message(STATUS "${PLAYER_NAME} disabled, please install sdl2 ffmpeg/libavcodec ffmpeg/libavutil ffmpeg/libswresample")
|
||||
return()
|
||||
endif ()
|
||||
|
||||
aux_source_directory(. SRC_LIST)
|
||||
|
Loading…
Reference in New Issue
Block a user