pkg_check_modules does not add frameworks to libraries variable
for example when using ffmpeg master i have
$ pkg-config --libs libavutil -L/opt/ffmpeg-master//lib -lavutil -pthread -lm -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework CoreServices
but the libraries variable only parses the -l arguments, not the -framework ones