[CMake] CMake & QT5.3
Andrew Maclean
andrew.amaclean at gmail.com
Tue Nov 25 02:28:26 EST 2014
Thanks Rolf.
I'll modify my QT 5.3 version to silence this.
Regards
Andrew
On Tue, Nov 25, 2014 at 5:55 PM, Rolf Eike Beer <eike at sf-mail.de> wrote:
> Andrew Maclean wrote:
> > When I build CMake (master version: 3.1.20141123-g2a0c) with VS2013
> > Community Edition (win64) and Qt 5,3 I get the following warning:
> >
> > CMake Warning (dev) at
> > C:/Qt/5.3/msvc2013_64_opengl/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:224
> > (configure_file):
> > configure_file called with unknown argument(s):
> >
> > COPY_ONLY
> >
> > Call Stack (most recent call first):
> > Source/QtDialog/CMakeLists.txt:28 (qt5_add_resources)
> > Source/QtDialog/CMakeLists.txt:122 (QT4_ADD_RESOURCES)
> > This warning is for project developers. Use -Wno-dev to suppress it.
> >
> > cannot compile simplest ever MFC app, avoiding MFC test
> >
> > Configuring done
> > Generating done
> >
> > Ignore MFC I don't have it installed so the status message is correct.
> >
> > Line 224 reads:
> > configure_file("${infile}" "${out_depends}" COPY_ONLY)
> >
> > The documentation on cmake_packages makes no reference to COPY_ONLY (it
> did
> > in 3.0.2 see:
> > http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html#id12).
> > In http://www.cmake.org/cmake/help/v3.1/release/3.1.0.html there is no
> > mention that this has been dropped. Maybe a reference should be inserted
> > here noting that COPY_ONLY is no longer a parameter in configure_file().
> It
> > looks like it has been replaced by COPYONLY. The Qt developers may not
> have
> > picked up on this.
>
> From CMake git:
>
> commit e9282782e489a78de9c2896ee01fdd02ce8ca396
> Author: Iosif Neitzke <iosif.neitzke at gmail.com>
> Date: Fri Oct 31 11:26:51 2014 -0500
>
> Help: Fix configure_file call to use COPYONLY, not COPY_ONLY
>
> The configure_file signature has option 'COPYONLY' (no underscore).
> Fix the example in 'cmake-packages.7.rst'.
>
> It had been wrong forever, there was a typo in the documentation and some
> code, but this never worked.
>
> Eike
> --
>
--
___________________________________________
Andrew J. P. Maclean
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141125/603d74cc/attachment.html>
More information about the CMake
mailing list