Define FFMPEG_DECODER when specified via cmake

This commit is contained in:
casey langen 2018-12-25 15:46:11 -08:00
parent 81888780b4
commit e1f5279856

View File

@ -88,6 +88,7 @@ add_subdirectory(src/plugins/stockencoders)
add_subdirectory(src/plugins/supereqdsp)
if (${FFMPEG_DECODER} MATCHES "true")
add_definitions(-DFFMPEG_DECODER)
add_subdirectory(src/plugins/ffmpegdecoder)
add_dependencies(musikcube ffmpegdecoder)
else()