Skip to content

Use $XDG_DATA_HOME/cmake instead of $HOME/.cmake

Eisuke Kawashima requested to merge e-kwsm/cmake:XDG_DATA_HOME into master

At the moment cmake creates $HOME/.cmake and stores user package registry under it, which does not comply with XDG base directory specification.

This MR uses $XDG_DATA_HOME/cmake instead; XDG_DATA_HOME defaults to $HOME/.local/share.

Closes #22480

Edited by Eisuke Kawashima

Merge request reports