Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
cmake-gui
fix-mpi-compile-flags.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-mpi-compile-flags.patch of Package cmake-gui
From: Egbert Eich <eich@suse.com> Date: Thu Feb 28 22:16:55 2019 +0100 Subject: FindMPI: Restore MPI_<LANG>_COMPILE_FLAGS as a command-line string Patch-mainline: Upstream Git-commit: 94d3d12f98051770fa5635978a1633868a522b82 References: bsc#1127105 Backport fix e374b9f1 Signed-off-by: Egbert Eich <eich@suse.com> Signed-off-by: Egbert Eich <eich@suse.de> --- Modules/FindMPI.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake index 22493f6..d4ad5d8 100644 --- a/Modules/FindMPI.cmake +++ b/Modules/FindMPI.cmake @@ -1458,7 +1458,9 @@ 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}") + foreach (_MPI_FLAG ${MPI_${LANG}_COMPILE_OPTIONS}) + set(MPI_${LANG}_COMPILE_FLAGS "${MPI_${LANG}_COMPILE_FLAGS} ${_MPI_FLAG}") + endforeach() endif() if(MPI_${LANG}_COMPILE_DEFINITIONS) foreach(_MPI_DEF IN LISTS MPI_${LANG}_COMPILE_DEFINITIONS)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor