From: Matthias Maier Date: Sun, 9 Jun 2019 20:14:53 +0000 (-0500) Subject: command line conversion for MPIEXEC_PREFLAGS and MPIEXEC_POSTFLAGS X-Git-Tag: v9.2.0-rc1~1433^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f10d316c35819ccf33420ce39b2893c4e9a9972b;p=dealii.git command line conversion for MPIEXEC_PREFLAGS and MPIEXEC_POSTFLAGS --- 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