I didn't address this in my PR (#501) - but the pkg config generation script doesn't work as it requires all of the target properties to be resolved at configuration time, whereas many of the properties (specifically for the std::filesystem configuration) are only resolved at build time, so the resulting h5cpp.pc file just contains generator expressions.
If you want to generate a configuration file with generator expressions you need to use file(GENERATE...)
I didn't address this in my PR (#501) - but the pkg config generation script doesn't work as it requires all of the target properties to be resolved at configuration time, whereas many of the properties (specifically for the
std::filesystemconfiguration) are only resolved at build time, so the resultingh5cpp.pcfile just contains generator expressions.If you want to generate a configuration file with generator expressions you need to use
file(GENERATE...)