<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Le jeu. 30 août 2018 à 20:03, George PF <<a href="mailto:george.p.f@mail.com">george.p.f@mail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> The documentation is intriguing about REQUIRED COMPONENTS interaction....<br>
<br>
That's... one way to put it.<br></blockquote><div><br></div><div>Yeah you know. Kind of ironic here :-)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> So it is possible that the failure behavior when specifying COMPONENTS is up to the module...<br>
<br>
I admit I was not reading the docs in that depth, but REQUIRED can only mean one thing and should<br>
not need second guessing the documentation. Sadly, someone thought otherwise.<br></blockquote><div><br></div><div>I guess there is no one to blame here.</div><div>The doc is too-realistic about the state of find modules.</div><div>At least Config mode should do it right I hope.</div><div>Module mode is historically for hand-written module maintained by volunteers: <a href="https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/dev/Module-Maintainers">https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/dev/Module-Maintainers</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Do you see this only with Qt or do other packages with components (may be Boost) behave like this?<br>
> I guess that Qt5 should be running in config mode, whereas boost must be in module mode though. <br>
<br>
I was debugging an older cmake project and wondered why it was not finding the non-standard Qt location, <br>
that's when I stumbled upon this issue.<br></blockquote><div><br></div><div>I see. I think something could/should be done for Config mode, for Module mode It would certainly depends on the module maintainer.</div><div> </div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Eric<br></div></div></div></div></div></div>