[cmake-developers] find_package module-only policy

Alexander Neundorf neundorf at kde.org
Mon Feb 27 11:49:57 EST 2012


On Monday 27 February 2012, Brad King wrote:
> On 2/25/2012 5:39 AM, Alexander Neundorf wrote:
> > I updated the FindPackage_ModeWarning branch.
> > It should now have everything as discussed here, please review.
> 
> Nice.
> 
> The MODULE keyword warning suggests using NO_MODULE which does not
> make sense (but it does for CONFIG of course).  Perhaps for MODULE
> it can just warn about the min required version.

This is already fixed in the branch which is on stage.

> I'll perform a more detailed review after that is fixed.
> 
> > The FindPackageTest now also tries to list more or less all possible
> > failure messages, the output is attached.
> 
> Thanks, that is good for manual reference.  Eventually I'd like
> to see a real test that verifies the output for each case.  I

What would you want to test ? The wording of the error messages ?

Alex



More information about the cmake-developers mailing list