allow building "ffmpeg.exe"

add new feature "ffmpeg" which allows to build "ffmpeg.exe" - ex. : vcpkg install ffmpeg[x264,gpl,nonfree,ffplay,ffprobe,openssl,lzma,opencl,ffmpeg]:x64-windows --recurse
This commit is contained in:
Unknown 2018-09-02 22:06:07 +02:00 committed by Griffin Downs
parent 8c3b87c95a
commit 407fb7edb6

View File

@ -62,6 +62,12 @@ else()
set(OPTIONS "${OPTIONS} --disable-ffmpeg")
endif()
if("ffmpeg" IN_LIST FEATURES)
set(OPTIONS "${OPTIONS} --enable-ffmpeg")
else()
set(OPTIONS "${OPTIONS} --disable-ffmpeg")
endif()
if("ffplay" IN_LIST FEATURES)
set(OPTIONS "${OPTIONS} --enable-ffplay")
else()