Howto fix KDE4 Buildsystem with CMake CVS

Alexander Neundorf neundorf at kde.org
Wed Feb 20 18:50:58 CET 2008


On Wednesday 20 February 2008, Brad King wrote:
> Alexander Neundorf wrote:
...
> > Shouldn't there be -L/opt/test2/lib/ included ?
> >
> > I have set both variables:
> > set(CMAKE_LINK_OLD_PATHS TRUE)
> > set(CMAKE_BACKWARDS_COMPATIBILITY 2.4)
> >
> > Am I missing something ?
>
> The -L options are added only if there are some -lfoo options.
> Otherwise they are useless anyway.

I should have known that you would implement something more intelligent than 
just "brute force" :-)

Alex


More information about the Kde-buildsystem mailing list