Marijuana is Haram to smoke and it is not the only thing that is available to treat glaucoma. It is also against the law of the country. You can be fined or jailed if caught while using it. It will therefore not be permissible to smoke.
And Allah Knows Best.
Mufti Waseem Khan.