summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorThomas Madlener <thomas.madlener@desy.de>2020-11-07 04:04:23 +0100
committerGitHub <noreply@github.com>2020-11-06 21:04:23 -0600
commit381305da0fc87319ea6edfad3a0780353484ef1a (patch)
tree91aaab4113b1b3fba1e4a247b1fc3a05d3c6e9ae /var
parent1d52bbdf17e5f7ae7f751fbe499a77b236f3de05 (diff)
downloadspack-381305da0fc87319ea6edfad3a0780353484ef1a.tar.gz
spack-381305da0fc87319ea6edfad3a0780353484ef1a.tar.bz2
spack-381305da0fc87319ea6edfad3a0780353484ef1a.tar.xz
spack-381305da0fc87319ea6edfad3a0780353484ef1a.zip
[root] fix package definition (#19775)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/root/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index 28b0906510..859840a525 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -435,7 +435,7 @@ class Root(CMakePackage):
True))
if '+x+opengl' in self.spec:
- ftgl_prefix = self.spec('ftgl').prefix
+ ftgl_prefix = self.spec['ftgl'].prefix
options.append(define('FTGL_ROOT_DIR', ftgl_prefix))
options.append(define('FTGL_INCLUDE_DIR', ftgl_prefix.include))
if '+python' in self.spec: