summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/cairo/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cairo/package.py b/var/spack/repos/builtin/packages/cairo/package.py
index afc6e81836..e57100d8aa 100644
--- a/var/spack/repos/builtin/packages/cairo/package.py
+++ b/var/spack/repos/builtin/packages/cairo/package.py
@@ -20,6 +20,7 @@ class Cairo(AutotoolsPackage):
variant('X', default=False, description="Build with X11 support")
variant('pdf', default=False, description="Enable cairo's PDF surface backend feature")
+ variant('gobject', default=False, description="Enable cairo's gobject functions feature")
depends_on('libx11', when='+X')
depends_on('libxext', when='+X')
@@ -45,5 +46,6 @@ class Cairo(AutotoolsPackage):
args.extend(['--disable-xlib', '--disable-xcb'])
args.extend(self.enable_or_disable('pdf'))
+ args.extend(self.enable_or_disable('gobject'))
return args