[cmake-developers] Improving the version selection behavior of EXACT
Matthew Woehlke
mw_triad at users.sourceforge.net
Fri Jan 9 13:13:49 EST 2015
On 2014-10-03 03:35, Rolf Eike Beer wrote:
> find_package(foo 2.0 EXACT) means EXACT, i.e. only "2.0" is allowed. In most
> cases this behavior is not the one that one would expect or need. Most people
> would instead allow any 2.0.x version to match. This sort of selection is
> currently impossible without additional effort in every Find*.cmake that is
> used.
This is probably a bit late, but did anyone think of using "MATCHES" to
say "all provided components match exactly and the rest can be whatever"?
--
Matthew
More information about the cmake-developers
mailing list