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

Brad King brad.king at kitware.com
Tue Mar 13 14:52:18 EDT 2012


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.

Thanks,
-Brad



More information about the cmake-developers mailing list