Skip to content
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

Handle Linux systems that use /lib64 instead of /lib #100

Closed
wants to merge 2 commits into from

Conversation

Tabby
Copy link
Contributor

@Tabby Tabby commented May 27, 2024

Use CMAKE_INSTALL_LIBDIR variable to set the correct lib folder to use for installing libraries so that CMake looks in the right place for the dependencies when linking

This shouldn't affect builds on other systems, both Linux and otherwise, but it fixes it for systems that prefer /lib64

Copy link
Collaborator

@royshil royshil left a comment

Choose a reason for hiding this comment

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

looks great!

@royshil
Copy link
Collaborator

royshil commented May 31, 2024

@Tabby do you mind fixing the cmake so it passes linting?

@Tabby
Copy link
Contributor Author

Tabby commented May 31, 2024

Not at all! Also yes of course there's a CMake linter, my bad. Must get that set up locally 😅

Tabby added 2 commits May 31, 2024 11:27
Use CMAKE_INSTALL_LIBDIR variable to set the correct lib folder to use
for installing libraries so that CMake looks in the right place for the
dependencies when linking
@Tabby Tabby force-pushed the fix-cmake-lib64-handling branch from 7ef751b to 78a46b5 Compare May 31, 2024 11:44
@Tabby
Copy link
Contributor Author

Tabby commented May 31, 2024

Ugh, I think this approach is wrong, as it causes the Ubuntu build to fail with the error I was getting on Gentoo before this change :/

@royshil
Copy link
Collaborator

royshil commented Jun 24, 2024

going to close now for staleness
lmk if more work is needed on this

@royshil royshil closed this Jun 24, 2024
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