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

Use ${CMAKE_SYSTEM_PROCESSOR} to determine target architecture #178

Closed
wants to merge 1 commit into from

Conversation

no-preserve-root
Copy link

At the moment, the build system inspects the linker search path to guess the target architecture under Linux. ${CMAKE_SYSTEM_PROCESSOR} should yield the same information and work with Arch and related distros that do not split their libraries Debian-style.

This should fix #39.

…d of guessing using the linker search path.

This method works on Arch Linux and related distros that do not prefix their library paths.
Fixes NVIDIAGameWorks#39.
@CLAassistant
Copy link

CLAassistant commented Sep 5, 2019

CLA assistant check
All committers have signed the CLA.

@AlesBorovicka
Copy link

Hi,
Thanks, looks fine, though I will need to double check, that our cross-compilation pipeline gets not broken. If all works fine, I will merge this into our mainline.
Thanks!
Ales

@AlesBorovicka
Copy link

AlesBorovicka commented Sep 12, 2019

Changes has been merged to our trunk and will be available in next update.

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.

CMake generate_projects.sh problem on Arch Linux
3 participants