1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Docs: Fix CMake commands for enabling Ccache

This commit is contained in:
Alexander Wilms
2023-11-10 02:35:38 +01:00
parent 439ce114cb
commit 096a1d74f5
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ cmake ../vcmi
**Notice**: The ../vcmi/ is not a typo, it will place makefile scripts into the build dir as the build dir is your working dir when calling CMake.
## To use ccache:
`cmake ../vcmi -D CMAKE_COMPILER_LAUNCHER=ccache`
`cmake ../vcmi -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_C_COMPILER_LAUNCHER=ccache`
## Trigger build