diff --git a/player/CMakeLists.txt b/player/CMakeLists.txt index 738610f4..26298b39 100644 --- a/player/CMakeLists.txt +++ b/player/CMakeLists.txt @@ -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)