While the icing will eventually set and be hard, it will take 1-2 hours. The best way to help it set faster is to let the cookies sit in the fridge for about 1 hour before serving. Just make sure not to stack them on top of each other until the icing has set!