glvis: fix spack issue #42839 (#43369)

* glvis: fix spack issue #42839

* add issue link
This commit is contained in:
eugeneswalker 2024-03-26 10:13:54 -07:00 committed by GitHub
parent 1275c57d88
commit 0b5b192c18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,6 +154,9 @@ def common_args(self):
"CONFIG_MK={0}".format(self.spec["mfem"].package.config_mk),
]
# https://github.com/spack/spack/issues/42839
result.append("CPPFLAGS=-DGLEW_NO_GLU")
if self.spec.satisfies("@4.0:"):
# Spack will inject the necessary include dirs and link paths via
# its compiler wrapper, so we can skip them: