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

change CMAKE_HOST_SYSTEM_PROCESSOR to CMAKE_SYSTEM_PROCESSOR #158

Closed

Conversation

Calandracas606
Copy link

Fixes build failure when cross compiling.

This should be CMAKE_SYSTEM_PROCESSOR, which will default to CMAKE_HOST_SYSTEM_PROCESSOR when not cross compiling

https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_PROCESSOR.html
https://cmake.org/cmake/help/latest/variable/CMAKE_HOST_SYSTEM_PROCESSOR.html

Tested cross compiling to aarch64, armv6l, and armv7l (although its extremely unlikely that 32-bit arm will ever use this library)

@dmitrii-galantsev
Copy link
Collaborator

Thank you! I'm submitting the change internally. It should make it to github in a couple days.

@dmitrii-galantsev
Copy link
Collaborator

Merged in 38d1275

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.

None yet

2 participants