cmake: first improvement