Setting Default Generators

Have a look at the environment variable CMAKE_GENERATOR.

1 Like