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! BUG: 338266 CCMAIL: tk@giga.or.at FIXED-IN: 4.14.1
parent
5e89c325
Please register or sign in to comment