CMake file api supports not passing in a generator in versions >= 3.15.0. I added a check for that version and using the file api in order to not pass in Ninja as a preferred generator when the user selects "unspec" as a kit and doesn't define any generator/preferredGenerators.
This change addresses item #3405
CMake file api supports not passing in a generator in versions >= 3.15.0. I added a check for that version and using the file api in order to not pass in Ninja as a preferred generator when the user selects "unspec" as a kit and doesn't define any generator/preferredGenerators.