<div dir="ltr">Thanks! That answers my question. ;)<div><br></div><div>--renato</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 September 2013 10:26, Eric Noulard <span dir="ltr">&lt;<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2013/9/5 Renato Golin &lt;<a href="mailto:renato.golin@linaro.org">renato.golin@linaro.org</a>&gt;:<br>
<div class="im">&gt; While searching for a version number comparison, I found a few custom<br>
&gt; solutions[1][2], but nothing official. Is there a canonical way of saying:<br>
&gt;<br>
&gt; IF (LIBXML2_VERSION GREATER_EQUAL 2.8.0)<br>
&gt;   do_something...<br>
&gt; END<br>
&gt;<br>
&gt; If not, which is the custom solution I should use?<br>
<br>
</div>Yes there is the VERSION_xxxx comparison operator:<br>
see<br>
<br>
cmake --help-command if<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Erk<br>
L&#39;élection n&#39;est pas la démocratie -- <a href="http://www.le-message.org" target="_blank">http://www.le-message.org</a><br>
</font></span></blockquote></div><br></div>