Many of then joined the project convinced it was the only way to stop the Axis from developing a nuclear bomb, and at least some of them were opposed to it's use by 1945, particularly against civilians. Not really comparable to an apartheid state currently at peace.