diff options
author | Brad King <brad.king@kitware.com> | 2019-08-21 14:28:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-08-21 14:28:33 (GMT) |
commit | 01c7c4236af7646c6b6db0a8a0d0e355b58c5bf2 (patch) | |
tree | 48fdc693cf31beb973e94655c66ea980a583d689 /Modules/FindMPI.cmake | |
parent | a04b852a7b1c8590ad35db5d09c99e73ebd5e464 (diff) | |
parent | 31b8b28fedbf102740eebd7ff9148188ed00a26e (diff) | |
download | CMake-01c7c4236af7646c6b6db0a8a0d0e355b58c5bf2.zip CMake-01c7c4236af7646c6b6db0a8a0d0e355b58c5bf2.tar.gz CMake-01c7c4236af7646c6b6db0a8a0d0e355b58c5bf2.tar.bz2 |
Merge topic 'FindMPI-restore-flag-vars'
31b8b28fed FindMPI: Restore MPI_<LANG>_COMPILE_FLAGS and MPI_<LANG>_COMPILE_OPTIONS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3710
Diffstat (limited to 'Modules/FindMPI.cmake')
-rw-r--r-- | Modules/FindMPI.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index a79758f..2779032 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -1702,7 +1702,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) - list(JOIN MPI_${LANG}_COMPILE_FLAGS " " MPI_${LANG}_COMPILE_OPTIONS) + list(JOIN MPI_${LANG}_COMPILE_OPTIONS " " MPI_${LANG}_COMPILE_FLAGS) endif() if(MPI_${LANG}_COMPILE_DEFINITIONS) foreach(_MPI_DEF IN LISTS MPI_${LANG}_COMPILE_DEFINITIONS) |