FindPkgConfig: No way to get the module found by pkg_search_module
The title says almost everything. When using pkg_search_module, there's no way to get the name of the module found by CMake.
Use case: I had to look for a pkgconfig module which was renamed at some point, and I also need to use pkg_get_variable to get the value of a non-standard variable once the module is found.
This cannot be achieved without using foreach() to test the different names for the pkgconfig module.