HEX
Server: Apache/2.4.65 (Unix) OpenSSL/3.5.5
System: Linux cpanel.ns-taberra.com 5.14.0-681.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 11 20:19:22 UTC 2026 x86_64
User: asif201 (1002)
PHP: 8.3.0
Disabled: NONE
Upload Files
File: //usr/share/cmake/Help/envvar/CMAKE_CONFIG_DIR.rst
CMAKE_CONFIG_DIR
----------------

.. versionadded:: 3.31

.. include:: ENV_VAR.txt

Specify a CMake user-wide configuration directory for
:manual:`cmake-file-api(7)` queries.

If this environment variable is not set, the default user-wide
configuration directory is platform-specific:

- Windows: ``%LOCALAPPDATA%\CMake``
- macOS: ``$XDG_CONFIG_HOME/CMake`` if set, otherwise
  ``$HOME/Library/Application Support/CMake``
- Linux/Other: ``$XDG_CONFIG_HOME/cmake`` if set, otherwise
  ``$HOME/.config/cmake``