Update version check in ccache.cmake so ccache can work on older cmake versions (#4567)
* Remove ccache.cmake so ccache can work on older cmake versions * Revert "Remove ccache.cmake so ccache can work on older cmake versions" This reverts commit 22301d41d31e72f7d1bbb68dfa601b0e3bf79b22. * Update version
This commit is contained in:
parent
e3939d32d0
commit
436c5c8efc
|
@ -1,4 +1,4 @@
|
|||
if (CMAKE_VERSION VERSION_LESS "3.17")
|
||||
if (CMAKE_VERSION VERSION_LESS "3.0")
|
||||
if (CMAKE_CXX_COMPILER_LAUNCHER)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CMAKE_CXX_COMPILER_LAUNCHER}")
|
||||
elseif (CMAKE_C_COMPILER_LAUNCHER)
|
||||
|
|
Loading…
Reference in New Issue