gsl: set GSL_ROOT_DIR (#38464)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com> Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
55152781cb
commit
a7e307bd81
@ -55,3 +55,8 @@ def configure_args(self):
|
||||
configure_args.append("CBLAS_LIBS=%s" % self.spec["blas"].libs.ld_flags)
|
||||
|
||||
return configure_args
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
# cmake looks for GSL_ROOT_DIR to find GSL so this helps pick the spack one
|
||||
# when there are multiple installations (e.g. a system one and a spack one)
|
||||
env.set("GSL_ROOT_DIR", self.prefix)
|
||||
|
Loading…
Reference in New Issue
Block a user