Skip to content

Conversation

@uilianries
Copy link
Contributor

Hello!

As a continuation of #177, this PR replaces the usage of regular library names by official CMake targets instead:

Using CMake targets, it will not only solve the correct library path, but also list transitive dependencies, compiler definitions, and header folders.

Regards!

Signed-off-by: Uilian Ries <uilianries@gmail.com>
jbaldwin
jbaldwin previously approved these changes Dec 12, 2025
@jbaldwin
Copy link
Owner

jbaldwin commented Dec 12, 2025

great changes, thank you for opening these PRs

edit: it looks like the ci workflows might need some updates to find the packages correctly

@uilianries uilianries marked this pull request as draft December 19, 2025 07:35
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries uilianries closed this Dec 19, 2025
@uilianries uilianries reopened this Dec 19, 2025
@uilianries
Copy link
Contributor Author

The libuv officially provides the mentioned Config Cmake, as described in previously. However, Ubuntu does not bring the latest project revision, so it does not package that expected .cmake file. Still, Ubuntu provides the .pc file: https://packages.ubuntu.com/questing/amd64/libuv1-dev/filelist Which can be used through pkg-config. I added a fallback to use pkg-config in case not find the expected .cmake file.

@uilianries uilianries marked this pull request as ready for review December 19, 2025 08:08
@uilianries uilianries requested a review from jbaldwin December 19, 2025 08:54
@jbaldwin jbaldwin merged commit cdcbebb into jbaldwin:main Dec 21, 2025
19 checks passed
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