cmake: Add CCache support

This commit is contained in:
Florent Castelli
2017-01-17 22:39:51 +01:00
parent 6829b42846
commit 17187694f6
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -150,6 +150,9 @@ function(enable_precompiled_headers PRECOMPILED_HEADER SOURCE_FILE SOURCE_VARIAB
endif(MSVC)
endfunction(enable_precompiled_headers)
# setup CCache
include(CCache)
# for revision info
find_package(Git)
if(GIT_FOUND AND NOT DOLPHIN_WC_REVISION)