[cmake-developers] Improving the version selection behavior of EXACT

Ben Boeckel ben.boeckel at kitware.com
Mon Jan 12 13:51:37 EST 2015


On Mon, Jan 12, 2015 at 11:40:19 -0500, Matthew Woehlke wrote:
> Anyway, your regex is overcomplicated; I'd think it would be just
> '^2[.]1([.]|$)'. (I'd be a little hesitant to allow '2.1a' to match
> '2.1'... is that '2.1 alpha' or 'release "a" after 2.1'?

Depends on whether it's a "normal" project or OpenSSL or tzdata :) .

--Ben


More information about the cmake-developers mailing list