CMake: emit message when ccache is detected.

This commit is contained in:
Jacob Oursland
2024-11-27 15:05:41 -08:00
committed by Chris Hennes
parent 962b8d4faa
commit a595f7cdb2

View File

@@ -22,6 +22,7 @@ if(FREECAD_USE_CCACHE)
find_program(CCACHE_PROGRAM ccache) #This check should occur before project()
if(CCACHE_PROGRAM)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
message(NOTICE "-- Using ccache found at: " ${CCACHE_PROGRAM})
endif()
endif()