[CMake] Version Check
Renato Golin
renato.golin at linaro.org
Thu Sep 5 05:21:07 EDT 2013
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:
IF (LIBXML2_VERSION GREATER_EQUAL 2.8.0)
do_something...
END
If not, which is the custom solution I should use?
Thanks!
--renato
[1] http://www.cmake.org/Wiki/CMakeCompareVersionStrings
[2]
http://article.gmane.org/gmane.comp.programming.tools.cmake.user/8533/match=version+comparison
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130905/8b518216/attachment.htm>
More information about the CMake
mailing list