remade cmake scripts