[cmake-developers] How to handle package Config.cmake files with dependencies ?

Alexander Neundorf neundorf at kde.org
Tue Mar 13 16:23:02 EDT 2012


On Tuesday 13 March 2012, Brad King wrote:
> On Tue, Mar 13, 2012 at 12:53 PM, Alexander Neundorf <neundorf at kde.org> 
wrote:
> > On Tuesday 13 March 2012, Brad King wrote:
> >> Is this just for compatibility?
> > 
> > Yes, it is in order to change the behaviour as little as possible.
> 
> Okay.  We merged a topic to master today that will help with the
> testing of this.  Please fetch from origin and rebase your topic on
> master.  Then add a case to the RunCMake.find_package test
> (Tests/RunCMake/find_package/RunCMakeTest.cmake, see
> Tests/RunCMake/CMakeLists.txt for instructions) to cover this error
> message:
> 
> +      e << "Found configuration file \"" << this->FileFound
> +        << "\" for package \"" << this->Name << "\", but " << foundVar
> +        << " is FALSE, so the package is not considered to be found.";
> 
> Then force-push back to the stage for another review.

Done.

Alex




More information about the cmake-developers mailing list