From 08ada32e9f641f29d3e4c14ad8e3e5b6e86a5540 Mon Sep 17 00:00:00 2001 From: Terry Cojean Date: Fri, 11 Nov 2022 13:18:19 +0100 Subject: [PATCH] Mention reason for change. Co-authored-by: Martin Kronbichler --- cmake/modules/FindGINKGO.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/modules/FindGINKGO.cmake b/cmake/modules/FindGINKGO.cmake index 4221c5c421..43bb8fdf21 100644 --- a/cmake/modules/FindGINKGO.cmake +++ b/cmake/modules/FindGINKGO.cmake @@ -51,6 +51,8 @@ unset(GINKGO_CXX_COMPILER) # SET(_libraries "") FOREACH(_library ginkgo ${GINKGO_INTERFACE_LINK_LIBRARIES}) + # Make sure to only pick up Ginkgo's own libraries here, skipping + # the MPI libraries that are listed here as of Ginkgo 1.5.0. IF(_library MATCHES "ginkgo.*") LIST(APPEND _libraries GINKGO_LIBRARY_${_library}) DEAL_II_FIND_LIBRARY(GINKGO_LIBRARY_${_library} -- 2.39.5