1 parent 43b845d commit 388bdbfCopy full SHA for 388bdbf
1 file changed
CMakeLists.txt
@@ -9,8 +9,8 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "" FORCE)
9
# Configure CCache if available
10
find_program(CCACHE_PROGRAM ccache)
11
if(CCACHE_PROGRAM)
12
- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
13
- set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
+ set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_PROGRAM})
+ set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE_PROGRAM})
14
endif()
15
16
# ===== Options =====
0 commit comments