[cmake-developers] [PATCH] fix version handling in find_dependency macro
Stephen Kelly
steveire at gmail.com
Sun Feb 23 05:34:49 EST 2014
Alex Merry wrote:
> The handling of the optional version argument in the find_dependency()
> macro is just wrong. It is only set if ${ARGV1} (rather than ARGV1)
> evaluates to true, and otherwise it remains unchanged from whatever its
> previous value was (instead of being cleared).
>
> Either of the attached patches fixes this.
Thanks, I applied the first one.
Steve.
More information about the cmake-developers
mailing list