Import FindFFmpeg from kfilemetadata

Authored by heikobecker on Feb 25 2018, 10:54 AM.

Description

Import FindFFmpeg from kfilemetadata

...instead of relying on pkg-config directly. That way you can pass
-DCMAKE_DISABLE_FIND_PACKAGE_FFmpeg and it'll also work on windows
where there's no pkg-conf IIRC.
It may be a candidate for inclusion into extra-cmake-modules because
it's also used by KDE Applications and Frameworks, but that'll need
some work and would require depending on a new, unreleased ecm.

Details

Committed
heikobeckerMar 4 2018, 1:53 PM
Parents
R181:5f00aa49959f: Use Q_FALLTHROUGH to fix the build with gcc-6
Branches
Unknown
Tags
Unknown