Add message when CCache is being used

This commit is contained in:
WaluigiWare64 2021-07-22 16:58:59 +01:00
parent 9b5d5f673c
commit 89875204dd
1 changed files with 1 additions and 0 deletions

View File

@ -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()