CMake: Fix linking of static FFmpeg libraries


__ffmpeg_internal_set_dependencies() parsed the "Libs:" line of each
FFmpeg component's pkg-config file into two buckets: Unix-style "-lfoo"
flags and MSVC-style "foo.lib" filenames. Only the "-lfoo" bucket was
ever forwarded to target_link_libraries(); the "foo.lib" bucket was
computed and then silently discarded. This broke linking with statically
linked FFmpeg, due oto missing usage requirements.

Pick-to: 6.12
Change-Id: I2ffdcf7b15edf2dc82369df5ebee7d611db64953
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit9b229fc96a46147e9ccdd0264fee4f8caec4d745
parent27d0b32ceb898abb5461afaf989f59a9bcbe50c6
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeThu, 27 Aug 2026 01:48:32 +0000