Skip to content

Commit

Permalink
Configure ccache to work with precompiled headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Zegeri committed Sep 17, 2018
1 parent da52591 commit 4c0a5ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
set(ENV{CCACHE_SLOPPINESS} pch_defines,time_macros)
endif(CCACHE_FOUND)

if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
Expand Down

0 comments on commit 4c0a5ba

Please sign in to comment.