]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Mention how to configure location of the secondary config file
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 2 Oct 2020 06:51:05 +0000 (08:51 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 5 Oct 2020 06:54:51 +0000 (08:54 +0200)
doc/INSTALL.md

index 9557dbbf2550d74107e074a22656a4134fe27b07..3dc15e3868580f1d36bb57adf0646345354a6f86 100644 (file)
@@ -39,7 +39,9 @@ Here is the typical way to build and install ccache:
     make install
 
 You can set the installation directory to e.g. `/usr` by adding
-`-DCMAKE_INSTALL_PREFIX:PATH=/usr` to the cmake command.
+`-DCMAKE_INSTALL_PREFIX=/usr` to the `cmake` command. You can set the directory
+where the secondary configuration file should be located to e.g. `/etc` by
+adding `-DCMAKE_INSTALL_SYSCONFDIR=/etc`.
 
 There are two ways to use ccache. You can either prefix your compilation
 commands with `ccache` or you can create a symbolic link (named as your