# CMake: remove \`ZIG_USE_CCACHE\` option · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1079b5fe63abeaf716baeddc731204927e322643)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1079b5fe63abeaf716baeddc731204927e322643

Requested commit: 1079b5fe63abeaf716baeddc731204927e322643

Commit: 1079b5fe63abeaf716baeddc731204927e322643

Tree: 2abf857d94f182b5d41147681e0fbdffdda251ab

Author: Eric Joldasov

Committer: Eric Joldasov

## Message

```
CMake: remove `ZIG_USE_CCACHE` option

Not really useful after old C++ compiler removal, and
zig build has own cache system. If someone still wants it,
`CMAKE_C_COMPILER_LAUNCHER` and `CMAKE_CXX_COMPILER_LAUNCHER` exist.

From CMake docs:

> RULE_LAUNCH_COMPILE
> Note: This property is intended for internal use by ctest(1).
> Projects and developers should use the <LANG>_COMPILER_LAUNCHER
> target properties or the associated CMAKE_<LANG>_COMPILER_LAUNCHER
> variables instead.

Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>

```

## Parents

- [34ed49c62d55e43afcc7be91391243d273985818](https://git.cafe/gitcafe/zig/commit/34ed49c62d55e43afcc7be91391243d273985818?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1079b5fe63abeaf716baeddc731204927e322643?format=markdown)
