cmake: check for ffmpeg >= 4.0.4

Check for the specific `ffmpeg` lib versions in `ffmpeg` `4.0.4` "Wu",

Do not pass `-DENABLE_FFMPEG=OFF` to the xenial travis job, as this is
detected automatically now.

Add a note about the required ffmpeg version to `README.md`.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover
2019-09-01 20:37:39 +00:00
parent 0b9c771027
commit 8b3470507d
3 changed files with 10 additions and 7 deletions

View File

@@ -32,8 +32,7 @@ matrix:
script:
- mkdir build
- cd build
# ffmpeg currently broken on xenial
- cmake .. -DENABLE_SDL=ON -DENABLE_FFMPEG=OFF
- cmake .. -DENABLE_SDL=ON
- make -j2
# xvfb fails on xenial too
# - xvfb-run ./visualboyadvance-m --help