1
0
Fork 0
modern_cpp_tutorial/cmake/sccache.cmake

7 lines
147 B
CMake
Raw Normal View History

2023-10-20 08:58:31 +00:00
find_program(SCCACHE_FOUND sccache)
if(SCCACHE_FOUND)
set(CMAKE_C_COMPILER_LAUNCHER sccache)
set(CMAKE_CXX_COMPILER_LAUNCHER sccache)
endif()