<div dir="ltr">I think the safest/wisest thing to do in this case is to update your minimum required version to CMake 2.8.4, and then adjust your custom code to eliminate the warning if it still occurs.<div><br></div><div style>
2.8.4 is more than 18 months old at this point. Is there a reason why 2.6.2 is still required for some?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 19, 2012 at 11:24 AM, Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net" target="_blank">a.neundorf-work@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wednesday 19 December 2012, Marcel Loose wrote:<br>
> Hi David,<br>
><br>
> I need to set a policy to OLD, because I have wrapped a few existing<br>
> Find*.cmake files to overcome some bugs or shortcomings. However, since<br>
> CMake 2.8.4 (or 2.8.3, I'm not sure), this triggers a policy warning<br>
> CMP0017 with newer versions of CMake, because some macros are now<br>
> included from my CMAKE_MODULE_PATH and some from CMAKE_CURRENT_LIST_DIR,<br>
> which expands to somewhere inside CMAKE_ROOT.<br>
<br>
</div>you get this warning if a module from CMake/Modules/ includes a module from<br>
outside CMake/Modules/, if the same module exists also inside CMake/Modules/.<br>
<br>
This is a serious warning, because the including module expects the module<br>
from the same cmake version as itself, having the features as they are in this<br>
version, and by getting a different file it may not get what it expects.<br>
<div class="HOEnZb"><div class="h5"><br>
Alex<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>