build: don't use ccache with MSVC

Set WITH_CCACHE to OFF for MSVC, so it doesn't show as ON in the
configure summary.

Fixes #31771.
This commit is contained in:
fanquake committed 2025-03-04 14:53:06 +00:00
1 parent 15717f0ef3
commit c718bffc36
1 file changed
+2
+2
View File
@@ -23,6 +23,8 @@ if(NOT MSVC)
else()
set(WITH_CCACHE OFF)
endif()
else()
set(WITH_CCACHE OFF)
endif()
mark_as_advanced(CCACHE_EXECUTABLE)