problems compiling kdelibs

Alexander Neundorf neundorf at kde.org
Wed Oct 15 22:49:39 BST 2008


On Wednesday 15 October 2008, Andreas Hartmetz wrote:
> Am Dienstag 14 Oktober 2008 00:40:47 schrieb Alexander Neundorf:
...
> > We require cmake 2.6.0 now, and this supports the environment variable
> > CMAKE_PREFIX_PATH, which will be used when searching for libs, header and
> > executables.
> > So instead of having to set CMAKE_(INCLUDE|LIBRARY)_PATH individually, it
> > is enough if you only set
> > export CMAKE_PREFIX_PATH=$KDEDIR
> >
> > lib/, include/ and bin/ will be appended appropriately.
>
> I discovered CMAKE_FRAMEWORK_PATH some weeks ago which also works nicely
> for me. You probably know it too. Why do you recommend CMAKE_PREFIX_PATH?

Because using it you just have to set one variable, and libs, headers and 
executables will be found, instead of having to set a separate one for each 
of these three.

Alex




More information about the kde-core-devel mailing list