Added ccache support as shown in Issue #390
parent
58ef0dceb6
commit
1468250a0d
|
@ -193,6 +193,13 @@ endif()
|
|||
# Find Google perftools
|
||||
find_package(GooglePerfTools)
|
||||
|
||||
###############################################################################
|
||||
# Support ccache, if installed
|
||||
find_program(CCACHE_FOUND ccache)
|
||||
if(CCACHE_FOUND)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
|
||||
endif(CCACHE_FOUND)
|
||||
|
||||
###############################################################################
|
||||
# Find MKL
|
||||
|
|
Loading…
Reference in New Issue