Made the new cmake variable public scope.