Findccache

find_package(ccache [REQUIRED] [QUIET])

This module locates ccache. CCACHE_FOUND will report if ccache has been found.

Result Variables

Defines the following variables:

CCACHE_FOUND
System has ccache.
CCACHE_EXECUTABLE
Path to the ccache executable.

Hints

You can directly set CCACHE_EXECUTABLE if the module has trouble finding ccache.