<div dir="ltr"><div><div><div>Thanks Nils,<br><br></div>That worked, but what is strange is that our cmake_minimum_required is set to 2.6, so I would think that it would not affect CMP0043 settings.<br><br></div>Next question, does CMP0043 affect more than COMPILE_DEFINITIONS_x, or does the policy for CMP0043 need to be set? I was getting warnings for files that did not use COMPILE_DEFINITIONS_x directly or include files that did.<br>
<br></div>-Jake<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 9:44 AM, Nils Gladitz <span dir="ltr"><<a href="mailto:nilsgladitz@gmail.com" target="_blank">nilsgladitz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 13.06.2014 18:32, Jake wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I upgraded to 3.0 recently and tried to generate build files for a project (<a href="https://github.com/tpaviot/oce/" target="_blank">https://github.com/tpaviot/<u></u>oce/</a>). I noticed the new warning about CMP0043 and have been trying to fix, but setting the policy to OLD, even at the beginning of CMakeLists.txt doesn't seem to do anything. Is this a bug or what? "cmake_policy(SET CMP0043 OLD)" is what I put at the beginning.<br>

</blockquote>
<br></div>
cmake_minimum_required() resets policies to match the version provided.<br>
Did you set the policy before or after?<span class="HOEnZb"><font color="#888888"><br>
<br>
Nils<br>
<br>
</font></span></blockquote></div><br></div>