Claim: To properly define a measure, one needs sigma algebra which are a special case of a topology.
Evidence: To properly define a measure, one needs a sigma algebra. Sigma algebras are a special case of a topology, and so thereby allow notions such as continuous and differentiable functions to be defined.