Generator Ninja does not support platform specification, but platform x64 was specified.
Where to start looking for the above problem? Im setting
CMAKE_GENERATOR_PLATFORM without problem when working with generator Windows VS, but now with qtcreator on Ubuntu, Im getting the above problem.
cmake 3.14, ubunto 20.04: Generator Ninja does not support platform specification, but platform x64 was specified.
The difference is that the Visual Studio generators support setting the platform (the platform functionality was designed specifically for Visual Studio), but the Ninja generators do not. I would suggest only setting
CMAKE_GENERATOR_PLATFORM when using Visual Studio.