mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-23 18:06:26 -07:00
[Build] Disable ccache auto-engage on Windows (MSVC)
This commit is contained in:
parent
7f8eb50ef2
commit
2c78a994af
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