Add ccache support for generated cmake files (#5926) (#5930)

This commit is contained in:
Andrew Voznytsa 2025-04-12 23:02:31 +03:00 committed by GitHub
parent 7a2732f211
commit 9367e85c88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ function(verilate TARGET)
STATUS
"Found ccache: ${OBJCACHE_PATH} (\"${objcache_version}\")"
)
set(CMAKE_CXX_COMPILER_LAUNCHER "${OBJCACHE_PATH}")
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${OBJCACHE_PATH}")
endif()
endif()