cmake .. generates different compile_commands.json on second run
If I create a new build folder, cmake .. creates a correct compile_commands.json, with compiler pointing to my Xcode toolchain. If I do it again, I get /usr/bin/clang and clangd does not work correctly. I would expect the file to be always the same.
This is on macOS 11.