Commit dcbad14d authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'FindMPI-restore-flags-string'

e374b9f1

 FindMPI: Restore MPI_<LANG>_COMPILE_FLAGS as a command-line string
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Christoph Junghans's avatarChristoph Junghans <junghans@votca.org>
Reviewed-by: Christian Pfeiffer's avatarChristian Pfeiffer <cpfeiffer@live.de>
Merge-request: !2368
parents bb59e362 e374b9f1
......@@ -1680,7 +1680,7 @@ foreach(LANG IN ITEMS C CXX Fortran)
set(MPI_${LANG}_INCLUDE_PATH "${MPI_${LANG}_INCLUDE_DIRS}")
unset(MPI_${LANG}_COMPILE_FLAGS)
if(MPI_${LANG}_COMPILE_OPTIONS)
set(MPI_${LANG}_COMPILE_FLAGS "${MPI_${LANG}_COMPILE_OPTIONS}")
list(JOIN MPI_${LANG}_COMPILE_FLAGS " " MPI_${LANG}_COMPILE_OPTIONS)
endif()
if(MPI_${LANG}_COMPILE_DEFINITIONS)
foreach(_MPI_DEF IN LISTS MPI_${LANG}_COMPILE_DEFINITIONS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment