subcounters which are available.
Defaults to ``OFF``.
-.. cmake:: GMX_DATA_INSTALL_DIR
+.. cmake:: GMX_INSTALL_DATASUBDIR
- Sets the directory under :file:`share/` where data files are installed.
- The default is ``gromacs``, which puts the files under
- file:`share/gromacs/`.
+ Sets the subdirectory under CMAKE_INSTALL_DATADIR where GROMACS-specific
+ read-only architecture-independent data files are installed. The default
+ is ``gromacs``, which means the files will go under ``share/gromacs``.
+ To alter the ``share`` part, change CMAKE_INSTALL_DATADIR.
See :doc:`relocatable-binaries` for how this influences the build.
.. cmake:: GMX_DOUBLE
Pass additional CUDA-only compiler flags to clang using this variable.
-.. cmake:: GMX_LIB_INSTALL_DIR
+.. cmake:: CMAKE_INSTALL_LIBDIR
Sets the installation directory for libraries (default is determined by
standard CMake package ``GNUInstallDirs``).