From 0846e94fc1a1096b14511cee9a2315159a911396 Mon Sep 17 00:00:00 2001 From: Eric Flumerfelt Date: Wed, 11 Jan 2023 15:29:57 -0600 Subject: [PATCH] Handle renamed pcie_linux_kernel_module package. --- python/sconstruct_helper.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/sconstruct_helper.py b/python/sconstruct_helper.py index 425630d..6f29375 100644 --- a/python/sconstruct_helper.py +++ b/python/sconstruct_helper.py @@ -108,9 +108,12 @@ def cppPath(mu2eOpts): path = path + [ os.environ['MU2E_ARTDAQ_CORE_INC' ] ] else: # New path = path + [ os.environ['ARTDAQ_CORE_MU2E_INC' ] ] + if 'PCIE_LINUX_KERNEL_MODULE_INC' in os.environ: # Old + path = path + [ os.environ['PCIE_LINUX_KERNEL_MODULE_INC' ] ] + else: # New + path = path + [ os.environ['MU2E_PCIE_UTILS_INC' ] ] path = path + [ os.environ['ARTDAQ_CORE_INC'], - os.environ['PCIE_LINUX_KERNEL_MODULE_INC'], os.environ['TRACE_INC'], os.environ['GSL_INC'], os.environ['POSTGRESQL_INC'],