mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[Build] Disable ccache auto-engage on Windows (MSVC)
This commit is contained in:
parent
af4ff67d0d
commit
4527537e3f
1 changed files with 3 additions and 1 deletions
|
|
@ -39,7 +39,9 @@ else()
|
|||
)
|
||||
endif()
|
||||
|
||||
if(USE_CCACHE)
|
||||
# ccache does not support MSVC and must not auto-engage on Windows
|
||||
# (it is installed unintentionally on the Windows CI runner)
|
||||
if(USE_CCACHE AND NOT WIN32)
|
||||
find_program(CCACHE_PROGRAM ccache)
|
||||
if(CCACHE_PROGRAM)
|
||||
# Support Unix Makefiles and Ninja
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue