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
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to