whizard: Make sure to detect LCIO if requested (#40316)

This commit is contained in:
Thomas Madlener 2023-10-05 17:53:56 +02:00 committed by GitHub
parent bec873aec9
commit 9e9653ac58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,6 +103,8 @@ def setup_build_environment(self, env):
# and seems incompatible with
# filter_compiler_wrappers, thus the
# actual compilers need to be used to build
if self.spec.satisfies("+lcio"):
env.set("LCIO", self.spec["lcio"].prefix)
env.set("CC", self.compiler.cc)
env.set("CXX", self.compiler.cxx)
env.set("FC", self.compiler.fc)