visit: actually set the dev env for plugins again (#32427)

This commit is contained in:
Olivier Cessenat 2022-08-30 08:02:23 +02:00 committed by GitHub
parent a09d4ffb4e
commit 7f4799a4a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,6 +81,7 @@ class Visit(CMakePackage):
variant("vtkm", default=False, description="Enable VTK-m support")
variant("conduit", default=True, description="Enable Conduit support")
variant("mfem", default=True, description="Enable MFEM support")
variant("plugins", default=True, description="Enable plugin development (xml2cmake)")
patch("spack-changes-3.1.patch", when="@3.1.0:3.2.2")
patch("spack-changes-3.0.1.patch", when="@3.0.1")
@ -211,9 +212,11 @@ def cmake_args(self):
self.define("VISIT_JPEG_DIR", spec["jpeg"].prefix),
self.define("VISIT_USE_GLEW", False),
self.define("VISIT_CONFIG_SITE", "NONE"),
self.define("VISIT_INSTALL_THIRD_PARTY", False),
]
# Provide the plugin compilation environment so as to extend VisIt
args.append(self.define_from_variant("VISIT_INSTALL_THIRD_PARTY", "plugins"))
if "@3.1: platform=darwin" in spec:
args.append(self.define("FIXUP_OSX", False))