[cmake-developers] [PATCH] Fix find_dependency macro version argument

2014-02-26 Thread Alex Merry
Recent commits broke the version argument handling, as the set variable name is different to the used variable name. First attached patch fixes this. The second one clears the variable again at the end of the macro, to match the other variables. Alex From

Re: [cmake-developers] [PATCH] Fix find_dependency macro version argument

2014-02-26 Thread Brad King
On 02/26/2014 10:09 AM, Alex Merry wrote: Recent commits broke the version argument handling, as the set variable name is different to the used variable name. First attached patch fixes this. The second one clears the variable again at the end of the macro, to match the other variables.