Merge topic 'GNUInstallDirs-get-absolute-install-dir'

cc6dbd194c GNUInstallDirs: Cache CMAKE_INSTALL_* with leading usr/ for install prefix /
a7fcb1320c GNUInstallDirs: Make GNUInstallDirs_get_absolute_install_dir a function
03e796f9ab GNUInstallDirs: Move the common handler for `SYSCONFDIR` and `LOCALSTATEDIR`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10584
This commit is contained in:
Brad King
2025-04-30 13:52:24 +00:00
committed by Kitware Robot
7 changed files with 128 additions and 25 deletions

View File

@@ -574,6 +574,10 @@ class cmMakefile;
SELECT(POLICY, CMP0192, \
"GNUInstallDirs uses absolute SYSCONFDIR, LOCALSTATEDIR, and " \
"RUNSTATEDIR in special prefixes.", \
4, 1, 0, WARN) \
SELECT(POLICY, CMP0193, \
"GNUInstallDirs caches CMAKE_INSTALL_* with leading 'usr/' for " \
"install prefix '/'.", \
4, 1, 0, WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)