> If you scroll down to [Special
> Cases](https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html), you
> can see that it describes what you want. I may have an error on how it's
> evaluating the path, I'll look into that.
>
> I see that the command you used produced this: `-DCMAKE_INSTALL_PREFIX=/usr`
> which is a special case and should do what you describe by changing
> `${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}` to
> `${CMAKE_INSTALL_FULL_SYSCONFDIR}/`.
I don't follow. In my build ``-DCMAKE_INSTALL_SYSCONFDIR=/etc`` is set already
> Quick, question though. Is there a case where you will want to install in a
> specific folder and then install the cfg somewhere else? (Apart from the
> special case described in the link.)
in my case ``DESTDIR`` is ``debian/<pkg_name>`` where all the files should be
installed and later packaged.
> I don't think we should configure or define CFG_DIR; it should be evaluated
> from the install prefix according to the rules described above.
Uhm... ``CFG_DIR`` is something we use in code and it should be configurable.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4053#issuecomment-2531868787
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4053/2531868...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!