Skip to content

Commit 4c0a5ba

Browse files
committed
Configure ccache to work with precompiled headers
1 parent da52591 commit 4c0a5ba

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
@@ -10,6 +10,7 @@ find_program(CCACHE_FOUND ccache)
1010
if(CCACHE_FOUND)
1111
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
1212
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
13+
set(ENV{CCACHE_SLOPPINESS} pch_defines,time_macros)
1314
endif(CCACHE_FOUND)
1415

1516
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")

0 commit comments

Comments
 (0)