Skip to content

Commit

Permalink
Tweak CMAKE_XYZ_COMPILER_LAUNCHER setting
Browse files Browse the repository at this point in the history
Signed-off-by: Tin Švagelj <[email protected]>
  • Loading branch information
Caellian committed Jan 5, 2025
1 parent 6d8fa6e commit b77d801
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/CCache.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ else()
endif()
endif()

set_property(GLOBAL PROPERTY C_COMPILER_LAUNCHER "${CCACHE_COMMAND}")
set_property(GLOBAL PROPERTY CXX_COMPILER_LAUNCHER "${CCACHE_COMMAND}")
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_COMMAND}")
set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_COMMAND}")
set(CMAKE_CUDA_COMPILER_LAUNCHER "${CCACHE_COMMAND}")

0 comments on commit b77d801

Please sign in to comment.