Is it including FindQt twice, (because it's already included by a parent CMakeLists.txt file), and something's not quite right about the include it twice scenario w.r.t. this particular variable?<br><br>Back to the simple CMakeLists.txt:<br>
<br>find_package(Qt4)<br>
if(QT_QTDECLARATIVE_FOUND)<br>
message("found it")<br>
endif()<br><br>find_package(Qt4)<br>
if(QT_QTDECLARATIVE_FOUND)<br>
message("found it again")<br>
endif()<br><br><br><div class="gmail_quote">On Thu, Jul 7, 2011 at 1:32 PM, Laszlo Papp <span dir="ltr"><<a href="mailto:lpapp@kde.org">lpapp@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 class="im"><br>
> That may be messing up subsequent if logic in an unexpected way... (If so,<br>
> it seems like it's still a bug, but that would be a different issue...)<br>
<br>
</div>Thanks for pointing out about my buggyness (I pushed the fix) :)<br>
<br>
However, this did not solve the issue:<br>
- elseif(KDE4_FOUND)<br>
+ else(KDE4_FOUND)<br>
<br>
Best Regards,<br>
<font color="#888888">Laszlo Papp<br>
</font></blockquote></div><br>