Skip to content

Conversation

@remia
Copy link
Owner

@remia remia commented Nov 6, 2023

No description provided.

remia added 2 commits November 6, 2023 09:12
Signed-off-by: Rémi Achard <remiachard@gmail.com>
Signed-off-by: Rémi Achard <remiachard@gmail.com>
find_path(pystring_INCLUDE_DIR
NAMES
pystring/pystring.h
pystring.h
Copy link

Choose a reason for hiding this comment

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

Running this in an Arch linux installation that has all the required libraries installed in system level results in the following include path: pystring_INCLUDE_DIR:PATH=/usr/include. However the correct path should be pystring_INCLUDE_DIR:PATH=/usr/include/pystring.

Only if I remove the pystring/pystring.h line from NAMES and add a line with include/pystring to PATH_SUFFIXES I get the correct path. Don't know how that might influence other combinations.

Copy link
Owner Author

Choose a reason for hiding this comment

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

That makes sense @irieger, I just implemented those changes and tested locally, if the CI pass I'll open a PR upstream.

Signed-off-by: Rémi Achard <remiachard@gmail.com>
@remia remia closed this Nov 8, 2023
@remia remia deleted the homebrew-deps branch November 16, 2023 09:20
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.

3 participants