diff --git a/var/spack/repos/builtin/packages/minc-toolkit/package.py b/var/spack/repos/builtin/packages/minc-toolkit/package.py index 30273d4afc..ddf20c7bfc 100644 --- a/var/spack/repos/builtin/packages/minc-toolkit/package.py +++ b/var/spack/repos/builtin/packages/minc-toolkit/package.py @@ -43,3 +43,6 @@ def cmake_args(self): # should be packaged separately with newer ITK "-DMT_BUILD_ELASTIX=OFF", ] + + def setup_run_environment(self, env): + env.set("MINC_TOOLKIT", self.prefix)