From 37b3d4366b18066204aa499b40b18969451cf206 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Fri, 2 Jul 2021 10:31:50 +0200
Subject: [PATCH] [cmake] Add mac archs to FindPETSc.cmake.

---
 scripts/cmake/jedbrown/FindPETSc.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/cmake/jedbrown/FindPETSc.cmake b/scripts/cmake/jedbrown/FindPETSc.cmake
index 7fb969e138e..3e2a9904584 100644
--- a/scripts/cmake/jedbrown/FindPETSc.cmake
+++ b/scripts/cmake/jedbrown/FindPETSc.cmake
@@ -101,6 +101,7 @@ if (PETSC_DIR AND NOT PETSC_ARCH)
   set (_petsc_arches
     $ENV{PETSC_ARCH}                   # If set, use environment variable first
     linux-gnu-c-debug linux-gnu-c-opt  # Debian defaults
+    arch-darwin-c-debug arch-darwin-c-opt
     x86_64-unknown-linux-gnu i386-unknown-linux-gnu)
   set (petscconf "NOTFOUND" CACHE FILEPATH "Cleared" FORCE)
   foreach (arch ${_petsc_arches})
-- 
GitLab