Closed glebm closed 2 years ago
Looks like the root cause is how DevilutionX sets up ccache:
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
endif()
Fixed like this:
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
+ set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
+ set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
endif()
I'm migrating DevilutionX MSVC build from AppVeyor to GitHub Actions (https://github.com/diasurgical/devilutionX/pull/4947) and I've hit the following error:
https://github.com/diasurgical/devilutionX/runs/7271331869?check_suite_focus=true