[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: SYSCONF_INSTALL_DIR: right location with CMAKE_INSTALL_PREFIX set
From:       "Yury G. Kudryashov" <urkud () ya ! ru>
Date:       2011-05-05 12:13:20
Message-ID: ipu490$8t5$1 () dough ! gmane ! org
[Download RAW message or body]

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?
_set_fancy allows the user to override it using

cmake -DSYSCONF_INSTALL_DIR=/etc

You can try
set(SYSCONF_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/etc CACHE PATH
    "Install directory for system-wide configuration files")

_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic