minc-toolkit: add MINC_TOOLKIT environment variable at runtime (#32331)

This variable is used by some programs both internal and external to the
toolkit itself to discover shared objects, data, etc.
This commit is contained in:
Ben Darwin 2022-08-23 14:03:12 -04:00 committed by GitHub
parent a08d6e790d
commit 9b6b1a277d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)