VectorSearch/cmake/sccache.cmake

7 lines
147 B
CMake
Raw Normal View History

2024-03-18 11:12:08 +00:00
find_program(SCCACHE_FOUND sccache)
if(SCCACHE_FOUND)
set(CMAKE_C_COMPILER_LAUNCHER sccache)
set(CMAKE_CXX_COMPILER_LAUNCHER sccache)
endif()