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

Fix missing libjpeg in ARM MacOS and set MacOS libraries in CMakeLists.txt #655

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

SkyLeite
Copy link

This PR simplifies the build process for MacOS by setting the library paths in the CMakeLists.txt file, essentially removing the need for macos-cmake.sh to exist.

It also fixes #471 and #654, which are related to libjpeg being shipped as a keg on ARM MacOS machines, making it so it's not symlinked to homebrew's prefix. This is due to it conflicting with libjpeg-turbo, which is (as far as I can tell) faster and ABI compatible, so I took the liberty of replacing it entirely. If this is undesirable, let me know and I can instead have cmake link with the correct path for libjpeg as I did with libarchive.

@SkyLeite SkyLeite changed the title Set MacOS libraries in CMakeLists.txt Fix missing libjpeg in ARM MacOS and set MacOS libraries in CMakeLists.txt Dec 24, 2023
@Drewol Drewol merged commit 2358d3a into Drewol:develop Jan 2, 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.

[Bug] Unable to build on Mac M1 due to Homebrew's different default install path
2 participants