-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link to imported target
MPI::MPI_Fortran
in test for MPI_IN_PLACE
Overriding `CMAKE_Fortran_COMPILER` doesn't have an effect for `try_run`. Instead, link to the imported target `MPI::MPI_Fortran` which should contain all settings that are needed to build a Fortran file using MPI functions. Also, check if compilation of the test program failed.
- Loading branch information
Showing
1 changed file
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters