Commit 4020698d authored by Kai Szuttor's avatar Kai Szuttor

cmake: show ccache path if found.

parent c7972a3d
......@@ -91,6 +91,7 @@ option(WITH_CCACHE "Use ccache compiler invocation." OFF)
if(WITH_CCACHE)
find_program(CCACHE ccache)
if(CCACHE)
message(STATUS "Found ccache ${CCACHE}.")
if(CMAKE_VERSION VERSION_LESS 3.4)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment