From kde-buildsystem Thu Mar 12 22:06:47 2009 From: Alexander Neundorf Date: Thu, 12 Mar 2009 22:06:47 +0000 To: kde-buildsystem Subject: Re: using check_cxx_source_runs Message-Id: <200903122306.48107.neundorf () kde ! org> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=123689567128472 On Thursday 12 March 2009, Leo Franchi wrote: ... > > Please replace the CheckCXXSourceRuns.cmake which is installed by > > the cmake on > > your system with the one attached to this email. It adds some basic > > handling > > for using imported targets with check_cxx_source_runs(). > > It's not perfect yet, but it works here for me. > > Please let me know if it works for you, then we can add it to > > kdelibs/cmake/modules/. > > A real fix for this should go into cmake itself. > > Yeah, this works great. Actually, since the whole link interface stuff > makes it resolve the dependencies (qtcore is linked twice), can we > just specify KDE4_KDEUI_LIBS and KDE4_KDECORE_LIBS and let it do the > rest? No. If you are using QtScript, you should also list it as a library to link to (beside that, this is the point where that fix is not perfect yet) Alex _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem