summaryrefslogtreecommitdiffstats
path: root/project/cmake/modules/FindCCache.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2016-03-08 21:02:53 +0100
committermanuel <manuel@mausz.at>2016-03-08 21:02:53 +0100
commit9fc8b732737f139d3e466510d75668ab45578960 (patch)
tree76db9bf5cb8cc869be908a5ed3d6f4cca3e3608a /project/cmake/modules/FindCCache.cmake
parentb75e2659df11c23aa921d2eed83c23adc282ed27 (diff)
downloadkodi-pvr-build-9fc8b732737f139d3e466510d75668ab45578960.tar.gz
kodi-pvr-build-9fc8b732737f139d3e466510d75668ab45578960.tar.bz2
kodi-pvr-build-9fc8b732737f139d3e466510d75668ab45578960.zip
sync with upstream
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