Qt5 cmake stuff

Alexander Neundorf neundorf at kde.org
Mon May 14 21:22:09 UTC 2012


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)


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


More information about the Kde-frameworks-devel mailing list