Prepend ccache as it should be first
This commit is contained in:
parent
8aab764c33
commit
87ba1e18bf
|
@ -355,8 +355,8 @@ if (USE_CCACHE)
|
|||
find_program(CCACHE_FOUND ccache)
|
||||
if(CCACHE_FOUND)
|
||||
# Set ccache on the actual lang
|
||||
list(APPEND CMAKE_C_COMPILER_LAUNCHER ${CCACHE_FOUND})
|
||||
list(APPEND CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE_FOUND})
|
||||
list(PREPEND CMAKE_C_COMPILER_LAUNCHER ${CCACHE_FOUND})
|
||||
list(PREPEND CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE_FOUND})
|
||||
|
||||
message(STATUS "Used ${CCACHE_FOUND} for compilation.")
|
||||
else(CCACHE_FOUND)
|
||||
|
|
Loading…
Reference in New Issue