From 9c32300dde400f048ff4c6cec264a731de925a87 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Mon, 23 Jul 2018 11:28:26 +0200
Subject: [PATCH] Restore list if libraries to find as it does not fail the
 search if not found

---
 modules/find/FindPARSEC.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/find/FindPARSEC.cmake b/modules/find/FindPARSEC.cmake
index 0dc44ab..d8f5786 100644
--- a/modules/find/FindPARSEC.cmake
+++ b/modules/find/FindPARSEC.cmake
@@ -399,7 +399,7 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR (PKG_CONFIG_EXECUTABLE AND NOT PARSEC_FOUND)
   # ----------------------------------------------
 
   # create list of libs to find
-  set(PARSEC_libs_to_find "parsec")
+  set(PARSEC_libs_to_find "parsec" "parsec-base" "parsec_distribution" "parsec_distribution_matrix")
 
   # call cmake macro to find the lib path
   if(PARSEC_LIBDIR)
-- 
GitLab