I have a CMake project that should not be built in 32-bit mode on x86, and I can't for the life of me figure out how to prevent that from happening.
Right now, it appears cmake <path>
, by default on windows assumes a 32-bit build.
How can I make my CMake project always build the 64-bit variant, without requiring the passing of command-line arguments to CMake?
Alternatively, how can I make CMake abort if it is trying to be built as 32-bit?