ccache: speed up builds, don't build tests (#27567)
This commit is contained in:
parent
c167b7d532
commit
3bfd78e6b8
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ class Ccache(CMakePackage):
|
|||
conflicts('%gcc@:5', when='@4.4:')
|
||||
conflicts('%clang@:4', when='@4.4:')
|
||||
|
||||
def cmake_args(self):
|
||||
return [self.define('ENABLE_TESTING', False)]
|
||||
|
||||
# Before 4.0 this was an Autotools package
|
||||
@when('@:3')
|
||||
def cmake(self, spec, prefix):
|
||||
|
|
Loading…
Reference in a new issue