summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/openpmd-api/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openpmd-api/package.py b/var/spack/repos/builtin/packages/openpmd-api/package.py
index f18a153b24..31dfe541c1 100644
--- a/var/spack/repos/builtin/packages/openpmd-api/package.py
+++ b/var/spack/repos/builtin/packages/openpmd-api/package.py
@@ -104,6 +104,7 @@ class OpenpmdApi(CMakePackage):
env.prepend_path('CMAKE_PREFIX_PATH', spec['mpi'].prefix)
if spec.satisfies("+adios1"):
env.prepend_path('CMAKE_PREFIX_PATH', spec['adios'].prefix)
+ env.prepend_path('PATH', spec['adios'].prefix.bin) # adios-config
if spec.satisfies("+adios2"):
env.prepend_path('CMAKE_PREFIX_PATH', spec['adios2'].prefix)
if spec.satisfies("+hdf5"):