Skip to content

pkg-config generation fails with WITH_BOOST=OFF #502

@planetmarshall

Description

@planetmarshall

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...)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions