Files
MuditaOS/cmake/modules/CCacheConfig.cmake
Radoslaw Wicik b7622bf149 [EGD-5812] Add cmake support for Products
Move cmake scripts/modules to separate directory, adding Products will
add new more scripts so first clean up, then changes.
2021-02-22 14:13:21 +01:00

6 lines
190 B
CMake

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)