KDE/kdelibs/cmake/modules

Volker Krause volker.krause at rwth-aachen.de
Wed Aug 2 10:46:05 CEST 2006


Laurent Montel wrote:
> On Tuesday 01 August 2006 20:22, David Faure wrote:
>> On Monday 31 July 2006 09:41, Laurent Montel wrote:
>> > SVN commit 568125 by mlaurent:
>> >
>> > Fix pb when we relauch ccmake -D... ../
>> > LIB_* variable was not changed
>> >
>> >
>> >  M  +1 -1      FindKDE4Internal.cmake
>> >
>> >
>> > --- trunk/KDE/kdelibs/cmake/modules/FindKDE4Internal.cmake
>> > #568124:568125 @@ -197,7 +197,7 @@
>> >  ## the following are directories where stuff will be installed to
>> >   set(BIN_INSTALL_DIR          "${EXEC_INSTALL_PREFIX}/bin"
>> >    CACHE PATH "The kde info install dir (default prefix/info)" FORCE)
>> > set(SBIN_INSTALL_DIR         "${EXEC_INSTALL_PREFIX}/sbin"
>> >  CACHE PATH "The kde info install dir (default prefix/info)" FORCE) -
>> > set(LIB_INSTALL_DIR          "${EXEC_INSTALL_PREFIX}/lib"
>> >  CACHE PATH "The subdirectory relative to the install prefix where
>> > libraries will be installed (default is /lib)") + set(LIB_INSTALL_DIR
>> >      "${EXEC_INSTALL_PREFIX}/lib"                  CACHE PATH "The
>> > subdirectory relative to the install prefix where libraries will be
>> > installed (default is /lib)" FORCE)
>>
>> Ohoh, this reverts an earlier commit. The FORCE broke for people using
>> /lib64 iirc; check svn logs.
> 
> So there is a pb.
> If we didn't change it when we change ${CMAKE_INSTALL_PREFIX}
> ${LIB_INSTALL_DIR} is never changed :(
> 
> Try cmake -DCMAKE_INSTALL_PREFIX=<new_path> ../ and look at result.
> LIB_INSTALL_DIR had old prefix .

Indeed, I haven't though about this problem :-(

> So I don't know how to fix it now.

What about a dedicated setting for the lib suffix like we have it in KDE3?

regards
Volker




More information about the Kde-buildsystem mailing list