CMake errors


(Harlan Haskins) #1

Hi all,

I can’t seem to get swift to build using cmake. When I run build-script -t, it exits prematurely with:

CMake Error: Error: generator : Ninja
Does not match the generator used previously: Unix Makefiles
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
utils/build-script: command terminated with a non-zero exit status 1, aborting

I’m using CMake from the binary distribution and a bootstrapped Ninja, but I get the same errors with CMake and Ninja from Homebrew.

Thanks,
Harlan Haskins