diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/freetype/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/freetype/package.py b/var/spack/repos/builtin/packages/freetype/package.py index 7102e3429f..0791568e32 100644 --- a/var/spack/repos/builtin/packages/freetype/package.py +++ b/var/spack/repos/builtin/packages/freetype/package.py @@ -44,3 +44,7 @@ class Freetype(AutotoolsPackage): def configure_args(self): return ['--with-harfbuzz=no'] + + def setup_dependent_environment(self, spack_env, run_env, dependent_spec): + spack_env.prepend_path('CPATH', self.prefix.include.freetype2) + run_env.prepend_path('CPATH', self.prefix.include.freetype2) |