The connection between atmospheric CO2 and warming was actually identified as early as around the year 1900.
I wasn't around then to have a sense of the broad social awareness of things, but I've gotten the impression that the science was fairly obvious before the 1970s.