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 forced x64 triplet #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

louist103
Copy link

Currently on any 64bit system a triplet of x64-windows is forced. This is because the existing check only checks for sizeof(void*) == 8 and not if a the target platform is set. This adds a second check for CMAKE_VS_PLATFORM_NAME being defined which is done on the command line.
This fixes targeting arm64 which is also 64 bit.

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.

1 participant