CMAKE_INSTALL_PREFIX doesn't work
Andreas Pakulat
apaku at gmx.de
Mon Jun 4 16:37:23 BST 2007
On 04.06.07 16:27:26, Ralf Habacker wrote:
> Andreas Pakulat schrieb:
> > Hi,
> >
> > while creating the content for the new kdevplatform module I found that
> > CMAKE_INSTALL_PREFIX doesn't work as expected. When setting
> > CMAKE_INSTALL_PREFIX to /home/andreas/kdevplatform while running cmake:
> >
> > cmake -DCMAKE_INSTALL_PREFIX=/home/andreas/kdevplatform/
> >
> > the make install still installs most of the stuff into the kdelibs
> > prefix, the cmake_install.cmake files all contain /home/andreas/kde4
> > instead of /home/andreas/kdevplatform. Even after setting
> > CMAKE_INSTALL_PREFIX to /home/andreas/kdevplatform before finding KDE4
> > the issue persists.
> >
> See in cmake_install.cmake. On win32 CMAKE_INSTALL_PREFIX is set in the
> top of the file ...
>
> # Set the install prefix
> IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
> SET(CMAKE_INSTALL_PREFIX "C:/Programme/kdelibs")
> ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
> STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
>
>
> ...but never used. Instead hardcoded pathes are used. This looks like an
> issue of the install generator.
Should I forward this to the cmake list as its a cmake problem or open a
bugreport directly?
Andreas
PS: Sorry for posting this here, I just realized kde-buildsystem
would've been more apropriate.
--
Your reasoning powers are good, and you are a fairly good planner.
More information about the kde-core-devel
mailing list