pkg-config : List resolved module filenames for dependency tracking
We have been seeing static link failures where a dependent module, somewhere down the dependency tree, has been modified, where the link arguments have been cached by cmake (FindPkgConfig).
It would be useful to have an output mode to return a unique list the fully qualified paths for all the
.pc files resolved by the search. These could then be used as dependencies in a similar manner to external include files.
Corresponding issue raised against cmake: issue 205190,