<div dir="ltr">While searching for a version number comparison, I found a few custom solutions[1][2], but nothing official. Is there a canonical way of saying:<div><br></div><div>IF (LIBXML2_VERSION GREATER_EQUAL 2.8.0)</div>
<div> do_something...</div><div>END</div><div><br></div><div>If not, which is the custom solution I should use?</div><div><br></div><div>Thanks!</div><div>--renato</div><div><br></div><div>[1] <a href="http://www.cmake.org/Wiki/CMakeCompareVersionStrings">http://www.cmake.org/Wiki/CMakeCompareVersionStrings</a></div>
<div>[2] <a href="http://article.gmane.org/gmane.comp.programming.tools.cmake.user/8533/match=version+comparison">http://article.gmane.org/gmane.comp.programming.tools.cmake.user/8533/match=version+comparison</a></div></div>