Skip to content

Commit e9c6a15

Browse files
authored
Use 'share' for DATAROOTDIR (#879)
* Use 'share' for DATAROOTDIR * fix table
1 parent aea0f70 commit e9c6a15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reference/build_helpers/autotools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Configures `Autotools` project with the given parameters.
211211
- ``--bindir``, ``--sbin`` and ``--libexec`` set to *bin* folder.
212212
- ``--libdir`` set to *lib* folder.
213213
- ``--includedir``, ``--oldincludedir`` set to *include* folder.
214-
- ``--datarootdir`` set to *res* folder.
214+
- ``--datarootdir`` set to *share* folder.
215215

216216
These flags will be set on demand, so only the available options in the *./configure* are actually set. They can also be totally skipped
217217
using ``use_default_install_dirs=False`` as described in the section below.

reference/build_helpers/cmake.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ There are some definitions set to be used later on the the ``install()`` step to
181181
+-----------------------------+---------------------------------------------+
182182
| CMAKE_INSTALL_OLDINCLUDEDIR | Set to *include* inside the package folder. |
183183
+-----------------------------+---------------------------------------------+
184-
| CMAKE_INSTALL_DATAROOTDIR | Set to *res* inside the package folder. |
184+
| CMAKE_INSTALL_DATAROOTDIR | Set to *share* inside the package folder. |
185185
+-----------------------------+---------------------------------------------+
186186

187187
But you can change the automatic definitions after the ``CMake()`` object creation using the ``definitions`` property:

0 commit comments

Comments
 (0)