Skip to content

Include root project directory in dependencies #2125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kompote
Copy link

@kompote kompote commented May 22, 2025

Libwebsockets :

The compilation process fails due to the inability from the parent project to locate the generated config headers, even though they are present in the build directory.

To resolve this issue, the include path dependency needs to be adjusted to incorporate the project root path, as the build directory mirrors the subproject structure.

…erated config header inclusion, bump to 4.3.3-2
@kompote kompote marked this pull request as ready for review May 22, 2025 15:18
Comment on lines +910 to +912
depinc = []
depinc += include_directories('include')
depinc += include_directories('.')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be a bit cleaner to do:

Suggested change
depinc = []
depinc += include_directories('include')
depinc += include_directories('.')
depinc = include_directories('include', '.')

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