Skip to content

Conversation

@pierrewillenbrockdfki
Copy link
Contributor

No description provided.

For example the INTERFACE_LINK_LIBRARIES is allowed to contain
generator expressions
Some packages had a ridiculous amount of cflags and ldflags in their
pkgconfig .pc files.
@pierrewillenbrockdfki
Copy link
Contributor Author

pierrewillenbrockdfki commented Jan 16, 2026

This needs a bit more work, now we can potentially get multiple .pc files generated and cmake complains in that case.

Edit: This was a package calling rock_prepare_pkgconfig twice, i thought it was something about the file being recreated for different configs for some reasone.

@pierrewillenbrockdfki
Copy link
Contributor Author

This will make calling rock_prepare_pkgconfig twice for the same target an error, where before it just silently recreated the .pc file.

@doudou i don't think that would be an issue except for packages misusing rock_library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants