mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-07 22:50:55 +08:00
未找到依赖库时,关闭编译test_player
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user