Added variables to cmake files