<div class="gmail_quote">On Tue, Sep 25, 2012 at 8:30 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:neundorf@kde.org" target="_blank">neundorf@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<div><br>
On Tuesday 25 September 2012, Matthias Kretz wrote:<br>
> On Tuesday 25 September 2012 16:06:06 Sven Langkamp wrote:<br>
> > On Tue, Sep 25, 2012 at 3:45 PM, Matthias Kretz <kretz@compeng.uni-<br>
><br>
> <a href="http://frankfurt.de" target="_blank">frankfurt.de</a>> wrote:<br>
> > > On Tuesday 25 September 2012 15:37:29 Matthias Kretz wrote:<br>
> > > > [...] Thus it's the same except that it<br>
> > > > doesn't execute the find_package_handle_standard_args function.<br>
> > > > Our problem thus boils down to: Why does this function, which is part<br>
> > > > of CMake, work for me (on several machines) and not for you? I'll<br>
> > > > have to check whether the arguments changed in some cmake version...<br>
> > ><br>
> > > The CONFIG_MODE switch used in find_package_handle_standard_args is<br>
> > > part of cmake since this commit:<br>
> > ><br>
> > > <a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e8ae504c0e13a641660a" target="_blank">http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e8ae504c0e13a641660a</a><br>
</div>> > > e78 a05d5a5184f352800<br>
<div>> > > That's cmake 2.8.3 if I'm not mistaken. Would that explain our error?<br>
> ><br>
> > I have cmake 2.8.7 here.<br>
><br>
> Ouch, kdelibs ships its own copy of find_package_handle_standard_args, and<br>
> that one doesn't support CONFIG_MODE. I'm not sure what's the best fix in<br>
> this case. Alex, can you suggest what we should do? Update the copy in<br>
> kdelibs, or even remove it from kdelibs?<br>
<br>
</div>What's the exact setup ?<br></blockquote><div><br></div><div>KDE Platform 4.8.1</div><div>cmake 2.8.7</div><div>I'm building Calligra from git master</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I.e. are you building something using kdelibs ?<br></blockquote><div><br></div><div>Yes, see above.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Which find_package() is failing ?<br></blockquote><div><br></div><div>I did test with <span class="il" style="background-color:rgb(255,255,204);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">find_package</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">(</span><span class="il" style="background-color:rgb(255,255,204);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Vc</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> REQUIRED) and </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">macro_optional_find_package(</span><span class="il" style="background-color:rgb(255,255,204);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Vc</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">). It failed with both.</span></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
For the next major KDE release I'd like to increase the required cmake version<br>
to 2.8.9 or something like this. Then (and only then) the copy of FPHSA.cmake<br>
can be removed from kdelibs.<br>
<br>
Alex<br>
<div><div><br>
_______________________________________________<br>
Vc mailing list<br>
<a href="mailto:Vc@compeng.uni-frankfurt.de" target="_blank">Vc@compeng.uni-frankfurt.de</a><br>
<a href="https://compeng.uni-frankfurt.de/mailman/listinfo/vc" target="_blank">https://compeng.uni-frankfurt.de/mailman/listinfo/vc</a><br>
</div></div></blockquote></div><br>