gromacs: fix issue with ^gcc
This commit is contained in:
parent
626c5c59c6
commit
e37a7b6c91
@ -738,7 +738,7 @@ def cmake_args(self):
|
||||
):
|
||||
with open(".".join([os.environ["SPACK_CXX"], "cfg"]), "r") as f:
|
||||
options.append("-DCMAKE_CXX_FLAGS={}".format(f.read()))
|
||||
elif self.spec.satisfies("^gcc"):
|
||||
elif self.spec["cxx"].name == "gcc":
|
||||
options.append("-DGMX_GPLUSPLUS_PATH=%s/g++" % self.spec["gcc"].prefix.bin)
|
||||
|
||||
if self.spec.satisfies("+double"):
|
||||
|
Loading…
Reference in New Issue
Block a user