Is it including FindQt twice, (because it&#39;s already included by a parent CMakeLists.txt file), and something&#39;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(&quot;found it&quot;)<br>
endif()<br><br>find_package(Qt4)<br>
if(QT_QTDECLARATIVE_FOUND)<br>
  message(&quot;found it again&quot;)<br>
endif()<br><br><br><div class="gmail_quote">On Thu, Jul 7, 2011 at 1:32 PM, Laszlo Papp <span dir="ltr">&lt;<a href="mailto:lpapp@kde.org">lpapp@kde.org</a>&gt;</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>
&gt; That may be messing up subsequent if logic in an unexpected way... (If so,<br>
&gt; it seems like it&#39;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>