Files
CMake/Help/release/dev/GNUInstallDirs-special-cases.rst
T
Cristian Le cc6dbd194c GNUInstallDirs: Cache CMAKE_INSTALL_* with leading usr/ for install prefix /
As a consequence, `GNUInstallDirs_get_absolute_install_dir` does not
alter the `var` argument (the relative path argument).

Closes: #26834
Signed-off-by: Cristian Le <git@lecris.dev>
2025-04-29 13:49:42 -04:00

12 lines
434 B
ReStructuredText

GNUInstallDirs-special-cases
----------------------------
* The :module:`GNUInstallDirs` module now prefers to default
``SYSCONFDIR``, ``LOCALSTATEDIR``, and ``RUNSTATEDIR`` to
absolute paths when installing to special prefixes.
See policy :policy:`CMP0192`.
* The :module:`GNUInstallDirs` module now caches ``CMAKE_INSTALL_*``
variables with their leading ``usr/`` for install prefix ``/``.
See policy :policy:`CMP0193`.