Qt5 cmake stuff

Alexander Neundorf neundorf at kde.org
Mon May 14 21:32:10 UTC 2012


On Monday 14 May 2012, David Faure wrote:
> On Monday 14 May 2012 23:22:09 Alexander Neundorf wrote:
> > On Monday 14 May 2012, Alexander Neundorf wrote:
> > ...
> > 
> > > For now, you can change the code e.g. to
> > > if (NOT TARGET Qt5::Core)
> > > 
> > >   message(STATUS "DF: Qt5CoreConfig.cmake add_library(Qt5::Core)")
> > >   add_library(Qt5::Core SHARED IMPORTED)
> > > 
> > > endif()
> > > 
> > > OR
> > > 
> > > if (NOT _qt5CoreTargetExists)
> > > 
> > >   set(_Qt5Core_target TRUE)
> > 
> > Should be:
> > set(_qt5CoreTargetExists TRUE)
> 
> Yes but this solution is basically the one that this commit moved away
> from:


Yes, I know. It should have been good, I really think this is a regression in 
cmake :-/
And of course actual testing instead of glancing over it would have helped :-/

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20120514/ac7dd5ec/attachment.html>


More information about the Kde-frameworks-devel mailing list