On Tue, Sep 25, 2012 at 3:45 PM, Matthias Kretz <span dir="ltr"><<a href="mailto:kretz@compeng.uni-frankfurt.de" target="_blank">kretz@compeng.uni-frankfurt.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tuesday 25 September 2012 15:37:29 Matthias Kretz wrote:<br>
> On Monday 24 September 2012 20:09:40 Sven Langkamp wrote:<br>
> > On Mon, Sep 24, 2012 at 1:54 PM, Matthias Kretz<br>
> ><br>
> > > I don't really understand what's going on. You mean that if you copy <Vc<br>
> > > prefix>/lib/cmake/Vc/FindVc.cmake into your sources you get the above<br>
> > > error?<br>
> ><br>
> > Yes, I did copy that file.<br>
> ><br>
> > > How would you use the one installed by Vc?<br>
> ><br>
> > I don't know. CMake did pick it up automatically, could be that the<br>
> > FindVc.cmake is in the CMAKE_MODULE_PATH or so.<br>
><br>
> OK, maybe what's happening is that cmake's find_package doesn't actually use<br>
> the installed FindVc.cmake but the installed VcConfig.cmake (which is what<br>
> line 29 in FindVc.cmake does, too). 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 of<br>
> CMake, work for me (on several machines) and not for you? I'll have to check<br>
> whether the arguments changed in some cmake version...<br>
<br>
</div>The CONFIG_MODE switch used in find_package_handle_standard_args is part of<br>
cmake since this commit:<br>
<a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e8ae504c0e13a641660ae78a05d5a5184f352800" target="_blank">http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e8ae504c0e13a641660ae78a05d5a5184f352800</a><br>
That's cmake 2.8.3 if I'm not mistaken. Would that explain our error?</blockquote></div><br><div>I have cmake 2.8.7 here.</div>