You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function target_compile_options in combination with
generator expressions does not handle strings with space
separated compiler flags and inserts quotes.
Also MPI_<lang>_COMPILE_FLAGS is deprecated since cmake 3.10
and should be replaced by MPI_<lang>_COMPILE_OPRIONS and
MPI_<lang>_COMPILE_DEFINITIONS.
Those variables are already lists of compiler flags and thus well
suited to solve the bug.
This fixes the build error described in issue #676 when using MPICH,
which is the same error as described in issue #704.
Signed-off-by: Elias Lettl <[email protected]>
0 commit comments