diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/icet/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/icet/package.py b/var/spack/repos/builtin/packages/icet/package.py index 126375c6c2..b2ff89ac69 100644 --- a/var/spack/repos/builtin/packages/icet/package.py +++ b/var/spack/repos/builtin/packages/icet/package.py @@ -40,3 +40,7 @@ class Icet(CMakePackage): def cmake_args(self): return ['-DICET_USE_OPENGL:BOOL=OFF'] + + def setup_dependent_environment(self, spack_env, run_env, dependent_spec): + """Work-around for ill-placed CMake modules""" + spack_env.prepend_path('CMAKE_PREFIX_PATH', self.prefix.lib) |