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

make.bat: use cmake -A to specify architecture #240

Merged
merged 2 commits into from
Nov 9, 2020

Conversation

truemedian
Copy link
Member

@truemedian truemedian commented Nov 7, 2020

cmake -A is available since cmake 3.1 (2014).

VS2019 does not allow you to provide the architecture as part of the generator. It must be supplied in the -A switch.

Fixes regression in #239.

This slipped by the CI because the AppVeyor is still using VS2017.

* use CMAKE_GENERATOR_PLATFORM (from -A) rather than CMAKE_GENERATOR
@squeek502
Copy link
Member

Thanks!

@squeek502 squeek502 merged commit 1c7cb3d into luvit:master Nov 9, 2020
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.

2 participants