Skip to content

cmake: incorrectly reporting MSVC as using ccache #31771

@fanquake

Description

@fanquake

Mentioned by @stickies-v. The CMake configure currently outputs that MSVC builds are using ccache, i.e (https://github.com/bitcoin/bitcoin/actions/runs/13063954360/job/36452895056#step:8:2374):

Treat compiler warnings as errors ..... ON
Use ccache for compiling .............. ON

However that's a bug, as MSVC is currently excluded entirely from using ccache:

if(NOT MSVC)
find_program(CCACHE_EXECUTABLE ccache)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions