From c05e60ecb2244c09c8584dff5f55af425dc12a1e Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 1 Nov 2025 21:40:06 +0100 Subject: [PATCH] GNUInstallDirs: Add more info about DATADIR --- Modules/GNUInstallDirs.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake index f677c27ff3..b96f32725d 100644 --- a/Modules/GNUInstallDirs.cmake +++ b/Modules/GNUInstallDirs.cmake @@ -94,6 +94,12 @@ where ```` is one of: read-only architecture-independent data root (``share``) ``DATADIR`` read-only architecture-independent data (``DATAROOTDIR``) + + The ``DATADIR`` and ``DATAROOTDIR`` are treated separately so that + ``DATADIR`` can be customized for project-specific data files, while + ``DATAROOTDIR`` remains unchanged for standard architecture-independent + locations ``INFODIR``, ``LOCALEDIR``, ``MANDIR``, and ``DOCDIR``. + ``INFODIR`` info documentation (``DATAROOTDIR/info``) ``LOCALEDIR``