[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: using check_cxx_source_runs
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2009-03-12 22:06:47
Message-ID: 200903122306.48107.neundorf () kde ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic