blob: 108eeb9035b6cb3d1568a97f550fe14496660c94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- CMakeLists.txt.orig 2025-07-14 23:11:31 UTC
+++ CMakeLists.txt
@@ -101,7 +101,7 @@ find_program(CCACHE_PROGRAM ccache)
# Support for ccache
# ==================================================================================================
find_program(CCACHE_PROGRAM ccache)
-if (CCACHE_PROGRAM)
+if (USE_CCACHE AND CCACHE_PROGRAM)
if (WIN32)
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
|