cmake: adjust ccache messages given ut's now optional

This commit is contained in:
Andrej730
2026-08-27 11:45:13 +05:00
parent 147c87a7be
commit 25ffdc3943
+2 -2
View File
@@ -182,7 +182,7 @@ endif()
if(USE_CCACHE)
find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
message(STATUS "`ccache` is found, using it as a compiler launcher.")
message(STATUS "`USE_CCACHE` is enabled and `ccache` is found, using it as a compiler launcher.")
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_FOUND}")
if(MSVC)
# By default Visual Studio generators will use /Zi which is not compatible
@@ -202,7 +202,7 @@ if(USE_CCACHE)
endif()
endif()
else()
message(STATUS "ccache usage disabled via USE_CCACHE=OFF")
message(STATUS "ccache usage is disabled, set `USE_CCACHE=ON` to enable it.")
endif()
if(MSVC AND MSVC_PARALLEL_BUILD)