openPMD-api: adios_config to run env (#14610)
Popular CMake find-scripts for ADIOS1 search for this binary instead of looking up `CMAKE_PREFIX_PATH`.
This commit is contained in:
parent
04a6a55cf8
commit
b0fce56d5b
@ -104,6 +104,7 @@ def setup_run_environment(self, env):
|
||||
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"):
|
||||
|
Loading…
Reference in New Issue
Block a user