I'm running CMake with -Wfatal-errors, which correctly terminates compilation for the first error it encounters. However, in parallel builds, all the other non-failed threads keep going until they finish their current job (i.e. finish building whatever file they were on). Is there a way to get CMake to also kill these child compile processes if any one of them fails?