cat poop while pregnant

does the toxoplasmosis come from the air if the cat poops let’s say on the ground . or does it have to be ingested?