Aberdeen have announced they will play a friendly against Viking Stavanger of Norway at Pittodrie on 4 September.