diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2019-05-06 16:42:28 (GMT) |
---|---|---|
committer | Christian Pfeiffer <cpfeiffer@live.de> | 2019-05-06 16:42:28 (GMT) |
commit | c499eccc5caa91700e033360f31604ecefff0238 (patch) | |
tree | 0f8c14f87e17907d37919ccad8f99919245dec6a /Modules/FindMPI | |
parent | 521ea77fc03090175feb624cf266ecd5a2f2d904 (diff) | |
download | CMake-c499eccc5caa91700e033360f31604ecefff0238.zip CMake-c499eccc5caa91700e033360f31604ecefff0238.tar.gz CMake-c499eccc5caa91700e033360f31604ecefff0238.tar.bz2 |
FindMPI: Make tests valid C89 by returning 0
Diffstat (limited to 'Modules/FindMPI')
-rw-r--r-- | Modules/FindMPI/libver_mpi.c | 1 | ||||
-rw-r--r-- | Modules/FindMPI/test_mpi.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindMPI/libver_mpi.c b/Modules/FindMPI/libver_mpi.c index 18d4a60..d89328a 100644 --- a/Modules/FindMPI/libver_mpi.c +++ b/Modules/FindMPI/libver_mpi.c @@ -16,4 +16,5 @@ int main(int argc, char* argv[]) #else puts(mpilibver_str); #endif + return 0; } diff --git a/Modules/FindMPI/test_mpi.c b/Modules/FindMPI/test_mpi.c index 05cec89..7c96d54 100644 --- a/Modules/FindMPI/test_mpi.c +++ b/Modules/FindMPI/test_mpi.c @@ -34,4 +34,5 @@ int main(int argc, char* argv[]) MPI_Init(&argc, &argv); MPI_Finalize(); #endif + return 0; } |