Link shared cmake target with prebuilt static libraries (PIC)

There are variables for static information, but I’m not seeing anything that makes a PkgConfig::LibA-static target or the like. That should probably be added. Please file an issue requesting this to be implemented.

In the meantime, using the _STATIC variables rather than the imported target from pkg_check_modules would be the way to go.