Skip to content

Commit dd6003e

Browse files
authored
add ccache support to cuda compiler (#6187)
1 parent dfee167 commit dd6003e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ find_program(CCACHE ccache)
190190
if(CCACHE)
191191
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE} ${CMAKE_CXX_COMPILER_LAUNCHER})
192192
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE} ${CMAKE_C_COMPILER_LAUNCHER})
193+
set(CMAKE_CUDA_COMPILER_LAUNCHER ${CCACHE} ${CMAKE_CUDA_COMPILER_LAUNCHER})
193194
endif()
194195

195196
# Choose build type from: Debug Release RelWithDebInfo MinSizeRel Select

0 commit comments

Comments
 (0)