Log whether or not ffmpeg is enabled.

This commit is contained in:
casey langen 2018-12-26 22:17:16 -08:00
parent 5d46fbdcad
commit 1b4b9127c4

View File

@ -88,12 +88,14 @@ add_subdirectory(src/plugins/stockencoders)
add_subdirectory(src/plugins/supereqdsp)
if (${FFMPEG_DECODER} MATCHES "false")
message(STATUS "[ffmpeg] decoder enabled = false")
add_subdirectory(src/plugins/m4adecoder)
add_subdirectory(src/plugins/oggdecoder)
add_subdirectory(src/plugins/nomaddecoder)
add_subdirectory(src/plugins/flacdecoder)
add_dependencies(musikcube m4adecoder oggdecoder nomaddecoder flacdecoder)
else()
message(STATUS "[ffmpeg] decoder enabled = true")
add_definitions(-DFFMPEG_DECODER)
add_subdirectory(src/plugins/ffmpegdecoder)
add_dependencies(musikcube ffmpegdecoder)