FreeBSD build problem
David Faure
faure at kde.org
Mon Jul 7 17:00:10 CEST 2008
On Monday 07 July 2008, Thiago Macieira wrote:
> David Johnson wrote:
> >On Sunday 06 July 2008 07:45:46 pm Thiago Macieira wrote:
> >> David Johnson wrote:
> >> >target_link_libraries(kfind ${KDE4_KDE3SUPPORT_LIBS} )
> >> >
> >> >This results in the the following library
> >> >locations: -L/usr/local/lib/qt4 -L/usr/local/lib
> >> > -L/usr/local/kde4/lib
> >> >
> >> >However, changing that line to add a dependency:
> >> >
> >> >target_link_libraries(kfind ${KDE4_KDEUI_LIBS}
> >> > ${KDE4_KDE3SUPPORT_LIBS} )
> >>
> >> Those libraries link directly to kdeui anyways, so the change is
> >> harmless. It can easily be done.
> >
> >But can anyone tell me how those library lists get generated? It seems
> > very arbitrary and random. I would be much more comfortable writing
> > these patches if I knew what was happening under the surface.
>
> It wasn't generated. It was written by hand like above.
Thiago, I think you're not understanding David Johnson's question :)
The -L parameters are definitely generated, by cmake.
The question is how. And the answer is complex AFAIK, and depends on the cmake version.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-buildsystem
mailing list