Add message when CCache is being used
This commit is contained in:
parent
9b5d5f673c
commit
89875204dd
|
@ -123,6 +123,7 @@ endif()
|
||||||
|
|
||||||
find_program(CCACHE "ccache")
|
find_program(CCACHE "ccache")
|
||||||
if (CCACHE)
|
if (CCACHE)
|
||||||
|
message(STATUS "Using CCache to speed up compilation")
|
||||||
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
|
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
|
||||||
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
|
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue