From e15d64b3f22b1e2713a4200c935306f2189a6684 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Tue, 8 Jun 2021 14:50:41 +0200
Subject: [PATCH] Remove redundant call to `find_package`

We are in Overlap so MPI has already been found in top-level `CMakeLists.txt`.
---
 Overlap/Tests/CMakeLists.txt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Overlap/Tests/CMakeLists.txt b/Overlap/Tests/CMakeLists.txt
index cfd73864..14a23033 100644
--- a/Overlap/Tests/CMakeLists.txt
+++ b/Overlap/Tests/CMakeLists.txt
@@ -91,8 +91,6 @@ target_include_directories(test_write_overlap PRIVATE ${fortrangis_INCLUDE_DIR})
 
 # test_send_recv
 
-find_package(MPI REQUIRED)
-
 add_executable(test_send_recv
   ${CMAKE_CURRENT_LIST_DIR}/test_send_recv.f90 send_snapshot.f90
   recv_snapshot.f90 ${CMAKE_SOURCE_DIR}/Common/read_field_indices.f90
-- 
GitLab