Re: Find dependencies quietly?

2014-02-02 Thread Stephen Kelly
On 02/02/2014 04:54 PM, Alex Merry wrote: On 02/02/14 07:27, Stephen Kelly wrote: On 02/02/2014 12:45 AM, Alex Merry wrote: The obvious thing to do is set a package property (or something equivalent) that says it was found as a dependency. The danger there is that if something is first found

Re: Find dependencies quietly?

2014-02-02 Thread Alex Merry
On 02/02/14 16:10, Stephen Kelly wrote: On 02/02/2014 04:54 PM, Alex Merry wrote: Either that, or have it as a completly orthogonal property that nevertheless interacts with TYPE, but I think that's overcomplicating matters. It is not clear to me whether you realize that that is what I

Re: Find dependencies quietly?

2014-02-02 Thread Stephen Kelly
On 02/02/2014 05:26 PM, Alex Merry wrote: On 02/02/14 16:10, Stephen Kelly wrote: On 02/02/2014 04:54 PM, Alex Merry wrote: Either that, or have it as a completly orthogonal property that nevertheless interacts with TYPE, but I think that's overcomplicating matters. It is not clear to me

Re: Find dependencies quietly?

2014-02-02 Thread Alex Merry
On 02/02/14 16:36, Stephen Kelly wrote: On 02/02/2014 05:26 PM, Alex Merry wrote: On 02/02/14 16:10, Stephen Kelly wrote: On 02/02/2014 04:54 PM, Alex Merry wrote: Either that, or have it as a completly orthogonal property that nevertheless interacts with TYPE, but I think that's

Re: Find dependencies quietly?

2014-02-01 Thread Stephen Kelly
On 02/01/2014 08:22 PM, Alex Merry wrote: (CC'ing Stephen because this is relevant to the version of find_dependency in CMake master) Currently, the find_dependency() macro does not pass the QUIET argument to find_package unless the parent package was being found quietly. This means that

Re: Find dependencies quietly?

2014-02-01 Thread Alex Merry
On 01/02/14 20:21, Stephen Kelly wrote: On 02/01/2014 08:22 PM, Alex Merry wrote: So, I think that find_dependency should pass QUIET to find_package whether or not the parent package is being found quietly. Do other people agree? I agree with the problem statement, but not the solution

Re: Find dependencies quietly?

2014-02-01 Thread Stephen Kelly
On 02/02/2014 12:45 AM, Alex Merry wrote: On 01/02/14 20:21, Stephen Kelly wrote: On 02/01/2014 08:22 PM, Alex Merry wrote: So, I think that find_dependency should pass QUIET to find_package whether or not the parent package is being found quietly. Do other people agree? I agree with the