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

Windows: don't preset CMAKE_SYSTEM_NAME #4342

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

iDunk5400
Copy link
Contributor

Let it be autodiscovered instead to avoid cmake thinking it's crosscompiling builds where host = target. This resolves a cmake configure error in MSYS2 caused by CMAKE_CROSSCOMPILING checks in #4294

Copy link
Collaborator

@moneromooo-monero moneromooo-monero left a comment

Choose a reason for hiding this comment

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

Assuming it does not break MoroccanMalinois' changes.

@iDunk5400
Copy link
Contributor Author

I think there is no such danger presently. The way I understand it, one would have to make a new Makefile target and build translations natively before building Monero itself to take advantage of MorrocanMalinois' crosscompiling changes. But maybe there is still something I'm missing.

Let it be autodiscovered instead to avoid cmake thinking it's crosscompiling builds where host = target. This resolves a cmake configure error in MSYS2 caused by CMAKE_CROSSCOMPILING checks in monero-project#4294.
@iDunk5400
Copy link
Contributor Author

I force pushed a change that will save anyone making a crosscompile Windows target from having to add -D CMAKE_SYSTEM_NAME=Windows to the cmake line.

Copy link
Contributor

@fluffypony fluffypony left a comment

Choose a reason for hiding this comment

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

Reviewed

@fluffypony fluffypony merged commit 6929b52 into monero-project:master Sep 11, 2018
fluffypony added a commit that referenced this pull request Sep 11, 2018
6929b52 Windows: don't preset CMAKE_SYSTEM_NAME (iDunk5400)
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.

5 participants