generation: fix handling of external dependencies in CMake code
generation: fix handling of external dependencies in CMake code

The PkgConfig object was used instead of its name

doudou/modelkit-component,doudou/modelkit-component