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}/`.
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.)
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.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4053#issuecomment-2531790865
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4053/2531790...@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!