SYSCONF_INSTALL_DIR: right location with CMAKE_INSTALL_PREFIX set to /usr?

Alexander Neundorf neundorf at kde.org
Thu May 5 20:02:57 CEST 2011


On Wednesday 04 May 2011, Friedrich W. H. Kossebau wrote:
> Hi,
> 
> I have blindly copied this for cagibi but since then wonder if this is
> correct in FindKDE4Internal.cmake:
> 
>    _set_fancy(SYSCONF_INSTALL_DIR      "${CMAKE_INSTALL_PREFIX}/etc"
> "The sysconfig install dir (default ${CMAKE_INSTALL_PREFIX}/etc)")
> 
> This will result in /usr/etc if CMAKE_INSTALL_PREFIX is set to /usr. But
> shouldn't it be /etc then?

By default nothing should be installed outside CMAKE_INSTALL_PREFIX, so I'd 
say it's correct.

Alex


More information about the Kde-buildsystem mailing list