message: cmake: Pass CMAKE_PREFIX_PATH to adios2-config generation
diff: @@ -59,6 +59,7 @@ function prefixify() {
  }
  export adios2_DIR="${DESTDIR}$1"
  +shift
  CMAKE="@CMAKE_COMMAND@"
  SOURCE_DIR="@ADIOS2_SOURCE_DIR@/cmake/install/post/adios2-config-dummy"
  BUILD_DIR=$(mktemp -d)
  @@ -77,6 +78,11 @@ then
  export FC="@MPI_Fortran_COMPILER@"
  fi
  +if [ -n "@CMAKE_PREFIX_PATH@" ]
  +then
  + EXTRA_CMAKE_ARGS="${EXTRA_CMAKE_ARGS} -DCMAKE_PREFIX_PATH=@CMAKE_PREFIX_PATH@"
  +fi
  +
  echo "Configuring adios2-config dummy CMake project"
  if ! ${CMAKE} -G "Unix Makefiles" ${SOURCE_DIR} ${EXTRA_CMAKE_ARGS}
  then
  