I have cedar's around my property. The tree's near the coop are probably less than 10 feet from the coop and I've had no problems.
You will come into problems when you use cedar shavings, as the wood is chopped up so much and the aroma/oils are so availble to BREATH in for the chickens.