You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmake/ccache.cmake
+7-15Lines changed: 7 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -9,27 +9,19 @@ if (CMAKE_CXX_COMPILER_LAUNCHER MATCHES "ccache" OR CMAKE_C_COMPILER_LAUNCHER MA
9
9
return()
10
10
endif()
11
11
12
-
set(ENABLE_CCACHE "default"CACHESTRING"Deprecated, use COMPILER_CACHE=(auto|ccache|sccache|disabled)")
13
-
if (NOT ENABLE_CCACHE STREQUAL"default")
14
-
message(WARNING"The -DENABLE_CCACHE is deprecated in favor of -DCOMPILER_CACHE")
15
-
endif()
16
-
17
12
set(COMPILER_CACHE "auto"CACHESTRING"Speedup re-compilations using the caching tools; valid options are 'auto' (ccache, then sccache), 'ccache', 'sccache', or 'disabled'")
18
13
19
-
# It has pretty complex logic, because the ENABLE_CCACHE is deprecated, but still should
20
-
# control the COMPILER_CACHE
21
-
# After it will be completely removed, the following block will be much simpler
22
-
if (COMPILER_CACHE STREQUAL"ccache"OR (ENABLE_CCACHE ANDNOT ENABLE_CCACHE STREQUAL"default"))
0 commit comments