support cmake v1.2.5