diff --git a/wmake/rules/General/ADIOS2 b/wmake/rules/General/ADIOS2 index c880d0c3b97ee62265070b54d73ba142f059eb5b..62f467196fa67b65820da1a6e339751ab7dab20b 100644 --- a/wmake/rules/General/ADIOS2 +++ b/wmake/rules/General/ADIOS2 @@ -4,10 +4,9 @@ sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB) sinclude $(DEFAULT_RULES)/mplib$(WM_MPLIB) -# Obtain prefix and library information via adios2-config -ADIOS_PREFIX := $(shell $(ADIOS2_ARCH_PATH)/bin/adios2-config --prefix) -ADIOS_LIBS := $(shell $(ADIOS2_ARCH_PATH)/bin/adios2-config --libs) +# May need to strip off rpath ... -ADIOS_INC = -I${ADIOS_PREFIX}/include +ADIOS_FLAGS := $(shell $(ADIOS2_ARCH_PATH)/bin/adios2-config --cxx-flags) +ADIOS_LIBS := $(shell $(ADIOS2_ARCH_PATH)/bin/adios2-config --cxx-libs) #------------------------------------------------------------------------------ diff --git a/wmake/scripts/have_adios2 b/wmake/scripts/have_adios2 index 52798bb137d89d43fb4eae931ad486f38c7e2b71..19b376258dc0b1466120bbf094449fa3d6a825b6 100644 --- a/wmake/scripts/have_adios2 +++ b/wmake/scripts/have_adios2 @@ -114,8 +114,6 @@ have_adios2() return 2 } - header="${header%/*}" # Strip one-level (include/adios2/...) - # OK export HAVE_ADIOS2=true export ADIOS2_ARCH_PATH="$prefix"