Skip to content

Commit 26e59f6

Browse files
authored
Merge pull request #28049 from cbjeukendrup/ccache_build_fix
Fix build with ccache again
2 parents a6c957a + 4676702 commit 26e59f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildscripts/cmake/DeclareModuleSetup.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function(target_precompile_headers_clang_ccache target)
8989
target_precompile_headers(${target} ${ARGN})
9090

9191
# https://discourse.cmake.org/t/ccache-clang-and-fno-pch-timestamp/7253
92-
if (CC_IS_CLANG AND CCACHE_PROGRAM)
92+
if (CC_IS_CLANG AND COMPILER_CACHE_PROGRAM)
9393
target_compile_options(${target} PRIVATE
9494
"$<$<COMPILE_LANGUAGE:CXX>:SHELL:-Xclang -fno-pch-timestamp>"
9595
)

0 commit comments

Comments
 (0)