update cmake structure