aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-04-25 13:21:21 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-04-25 13:23:18 +0000
commite3e220b283d68098adaa668ef2701bc0cc022992 (patch)
tree39d71f466e5e1e44623bffe148e4b550e0b8b82c
parentdc4558fc72519aeffa0c13cbbc3e9d713127734c (diff)
downloadports-e3e220b283d68098adaa668ef2701bc0cc022992.tar.gz
ports-e3e220b283d68098adaa668ef2701bc0cc022992.zip
Mk/Uses/mpi.mk: fix CMAKE_ARGS when USES=cmake has arguments
-rw-r--r--Mk/Uses/mpi.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/mpi.mk b/Mk/Uses/mpi.mk
index c041cebeef27..62d86a289fd2 100644
--- a/Mk/Uses/mpi.mk
+++ b/Mk/Uses/mpi.mk
@@ -57,7 +57,7 @@ MPICXX= ${MPI_HOME}/bin/mpicxx
MPIEXEC= ${MPI_HOME}/bin/mpiexec
MPIRUN= ${MPI_HOME}/bin/mpirun
-.if ${USES:Mcmake}
+.if ${USES:Mcmake} || ${USES:Mcmake\:*}
CMAKE_ARGS+= -DMPIEXEC_EXECUTABLE:FILEPATH="${MPIEXEC}" \
-DMPI_HOME:PATH="${MPI_HOME}"
.endif