Skip to content

Commit c718bff

Browse files
committed
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.
1 parent 15717f0 commit c718bff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/ccache.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ if(NOT MSVC)
2323
else()
2424
set(WITH_CCACHE OFF)
2525
endif()
26+
else()
27+
set(WITH_CCACHE OFF)
2628
endif()
2729

2830
mark_as_advanced(CCACHE_EXECUTABLE)

0 commit comments

Comments
 (0)