cmaes working with cmake