diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py index 9b8f4c11238..2bbe8300e20 100644 --- a/var/spack/repos/builtin/packages/root/package.py +++ b/var/spack/repos/builtin/packages/root/package.py @@ -359,7 +359,7 @@ def cmake_args(self): # Options related to ROOT's ability to download and build its own # dependencies. Per Spack convention, this should generally be avoided. options += [ - define('builtin_afterimage', True), + define_from_variant('builtin_afterimage', 'x'), define('builtin_cfitsio', False), define('builtin_davix', False), define('builtin_fftw3', False),