On 10/03/2014 11:53 AM, Rolf Eike Beer wrote:
> It looks like this line is the culprit:
>
> if (NOT "${${_NAME}_FIND_VERSION}" VERSION_EQUAL "${VERSION}")
>
> I can solve this in CMake language, but the question is again if it may be
> worth solving in the command itself? Meanwhile I'll prepare an implementation
> in CMake code, we can replace that with anything better anytime later.
Yes, I think the command should be fixed to compare only as many
components as are given on both sides, ignoring extra on one side.
However, that will require a policy.
Please fix it in the module by hand for now and look at adding a
policy for this after the 3.1 release.
Thanks,
-Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers