Skip to content

Commit 3447c62

Browse files
committed
Try sccache again.
1 parent b8d6434 commit 3447c62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/caches/sccache.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
find_program(SCCACHE sccache HINTS /usr/local/bin)
2-
if (SCCACHE AND UNIX)
2+
if (SCCACHE)
33
set(CMAKE_C_COMPILER_LAUNCHER ${SCCACHE} CACHE STRING "")
44
set(CMAKE_CXX_COMPILER_LAUNCHER ${SCCACHE} CACHE STRING "")
5+
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT Embedded)
6+
cmake_policy(SET CMP0141 NEW)
57
endif()

0 commit comments

Comments
 (0)