Skip to content
Commit afcc7af9 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

FindFFmpeg: Use the right name for the pkg-config component variables.

Commit 3194a35e ("Rewritten FindFFmpeg.cmake") introduced a regression
in the find_component macro: the pkg_check_module() call uses
PC_${component} as the variable name, while the calls to find_path() and
find_library() use PC_LIB${component} instead.

Fix the calls to find_path() and find_library().

Based on a patch by Thomas Klausner <tk@giga.or.at>, thanks a lot!

Copied from kdelibs commit f6d33b3a2d1077c91425819de145ba2e5ae3cd87

BUG: 338280
FIXED-IN: 4.14.1
parent 3ca792ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment