misc(backend): let's actually cache things now
This commit is contained in:
parent
6790cd6804
commit
0261285bc5
|
@ -9,11 +9,10 @@ if (NOT DEFINED CMAKE_CXX_COMPILER_LAUNCHER)
|
||||||
set(CMAKE_CUDA_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
|
set(CMAKE_CUDA_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
|
||||||
endif ()
|
endif ()
|
||||||
else ()
|
else ()
|
||||||
find_program(CCACHE_EXECUTABLE ${CMAKE_CXX_COMPILER_LAUNCHER})
|
|
||||||
message(STATUS "Using user specified cmake cxx compiler launcher: ${CMAKE_CXX_COMPILER_LAUNCHER}")
|
message(STATUS "Using user specified cmake cxx compiler launcher: ${CMAKE_CXX_COMPILER_LAUNCHER}")
|
||||||
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
|
set(CMAKE_C_COMPILER_LAUNCHER ${CMAKE_CXX_COMPILER_LAUNCHER})
|
||||||
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
|
set(CMAKE_CXX_COMPILER_LAUNCHER ${CMAKE_CXX_COMPILER_LAUNCHER})
|
||||||
set(CMAKE_CUDA_COMPILER_LAUNCHER ${CCACHE_EXECUTABLE})
|
set(CMAKE_CUDA_COMPILER_LAUNCHER ${CMAKE_CXX_COMPILER_LAUNCHER})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
|
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
|
||||||
|
|
Loading…
Reference in New Issue