CMake question. For years, I've been adding this line to my cmake configuration ...

@mcc@mastodon.social

CMake question.

For years, I've been adding this line to my cmake configuration invokes on Windows.

-A x64

I do this because I believe this is the only way to communicate to Windows CMake I want to build an x86-64 executable and NOT x86-32.

My wife tried to use one of my invocations on her machine. It angrily refused to run, saying I requested "platform specification" and "ninja" does not support "platform specification".

Is there a correct cross-generator way to say "64 BIT" on Windows?