mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Remove platform related checks for setting 'CMAKE_C(XX)_COMPILER_LAUNCHER' as 'ccache'.
This commit is contained in:
parent
c8ed138145
commit
491dfd8502
@ -84,9 +84,8 @@ if(ENABLE_CCACHE)
|
||||
find_program(CCACHE ccache REQUIRED)
|
||||
endif()
|
||||
|
||||
# On Linux and MinGW, use ccache via CMAKE_CXX_COMPILER_LAUNCHER.
|
||||
# The XCode and MSVC builds each require some more configuration further down.
|
||||
if(ENABLE_CCACHE AND (LINUX OR MINGW))
|
||||
if(ENABLE_CCACHE)
|
||||
set(CMAKE_C_COMPILER_LAUNCHER "ccache")
|
||||
set(CMAKE_CXX_COMPILER_LAUNCHER "ccache")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user