added support caching linked libraryes

This commit is contained in:
Andrei Yankovich 2022-04-29 09:27:46 +03:00
parent 77efb9de06
commit 536783fc76

View File

@ -18,5 +18,6 @@ find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
message("using ccache in ${CCACHE_PROGRAM}")
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK "${CCACHE_PROGRAM}") # Less useful to do it for linking, see edit2
endif()