From f10d316c35819ccf33420ce39b2893c4e9a9972b Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 9 Jun 2019 15:14:53 -0500 Subject: [PATCH] command line conversion for MPIEXEC_PREFLAGS and MPIEXEC_POSTFLAGS --- cmake/configure/configure_1_mpi.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmake/configure/configure_1_mpi.cmake b/cmake/configure/configure_1_mpi.cmake index a463cc9b99..baba0f60d8 100644 --- a/cmake/configure/configure_1_mpi.cmake +++ b/cmake/configure/configure_1_mpi.cmake @@ -44,6 +44,13 @@ ENDMACRO() MACRO(FEATURE_MPI_CONFIGURE_EXTERNAL) + # + # We must convert the MPIEXEC_(PRE|POST)FLAGS strings to lists in order + # to use them in command lines: + # + SEPARATE_ARGUMENTS(MPIEXEC_PREFLAGS) + SEPARATE_ARGUMENTS(MPIEXEC_POSTFLAGS) + # # TODO: We might consider refactoring this option into an automatic check # (in Modules/FindMPI.cmake) at some point. For the time being this is an -- 2.39.5