<div dir="ltr">Thanks Rolf.<div><br></div><div>I'll modify my QT 5.3 version to silence this.</div><div><br></div><div>Regards</div><div>   Andrew</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 25, 2014 at 5:55 PM, Rolf Eike Beer <span dir="ltr"><<a href="mailto:eike@sf-mail.de" target="_blank">eike@sf-mail.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Andrew Maclean wrote:<br>
> When I build CMake (master version: 3.1.20141123-g2a0c) with VS2013<br>
> Community Edition (win64) and Qt 5,3 I get the following warning:<br>
><br>
> CMake Warning (dev) at<br>
> C:/Qt/5.3/msvc2013_64_opengl/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:224<br>
> (configure_file):<br>
> configure_file called with unknown argument(s):<br>
><br>
> COPY_ONLY<br>
><br>
> Call Stack (most recent call first):<br>
> Source/QtDialog/CMakeLists.txt:28 (qt5_add_resources)<br>
> Source/QtDialog/CMakeLists.txt:122 (QT4_ADD_RESOURCES)<br>
> This warning is for project developers. Use -Wno-dev to suppress it.<br>
><br>
> cannot compile simplest ever MFC app, avoiding MFC test<br>
><br>
> Configuring done<br>
> Generating done<br>
><br>
>  Ignore MFC I don't have it installed so the status message is correct.<br>
><br>
> Line 224 reads:<br>
> configure_file("${infile}" "${out_depends}" COPY_ONLY)<br>
><br>
> The documentation on cmake_packages makes no reference to COPY_ONLY (it did<br>
> in 3.0.2 see:<br>
> <a href="http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html#id12" target="_blank">http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html#id12</a>).<br>
> In <a href="http://www.cmake.org/cmake/help/v3.1/release/3.1.0.html" target="_blank">http://www.cmake.org/cmake/help/v3.1/release/3.1.0.html</a> there is no<br>
> mention that this has been dropped. Maybe a reference should be inserted<br>
> here noting that COPY_ONLY is no longer a parameter in configure_file(). It<br>
> looks like it has been replaced by COPYONLY. The Qt developers may not have<br>
> picked up on this.<br>
<br>
</div></div>From CMake git:<br>
<br>
commit e9282782e489a78de9c2896ee01fdd02ce8ca396<br>
Author: Iosif Neitzke <<a href="mailto:iosif.neitzke@gmail.com">iosif.neitzke@gmail.com</a>><br>
Date:   Fri Oct 31 11:26:51 2014 -0500<br>
<br>
    Help: Fix configure_file call to use COPYONLY, not COPY_ONLY<br>
<br>
    The configure_file signature has option 'COPYONLY' (no underscore).<br>
    Fix the example in 'cmake-packages.7.rst'.<br>
<br>
It had been wrong forever, there was a typo in the documentation and some<br>
code, but this never worked.<br>
<span class="HOEnZb"><font color="#888888"><br>
Eike<br>
--<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</div>