summaryrefslogtreecommitdiffstats
path: root/project/cmake/modules/FindCCache.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'project/cmake/modules/FindCCache.cmake')
-rw-r--r--project/cmake/modules/FindCCache.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/project/cmake/modules/FindCCache.cmake b/project/cmake/modules/FindCCache.cmake
new file mode 100644
index 0000000..4ad7d07
--- /dev/null
+++ b/project/cmake/modules/FindCCache.cmake
@@ -0,0 +1,6 @@
1find_program(CCACHE_FOUND ccache)
2if(CCACHE_FOUND)
3 set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
4 set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
5endif(CCACHE_FOUND)
6