From 31229b32167aedd07f7240507ff3b94ce842a4db Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Wed, 4 Mar 2015 16:09:32 +0000
Subject: [PATCH] the wrong list is set here - fixed

---
 cmake_modules/morse/find/FindQUARK.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake_modules/morse/find/FindQUARK.cmake b/cmake_modules/morse/find/FindQUARK.cmake
index 68e7923f6..507f00f71 100644
--- a/cmake_modules/morse/find/FindQUARK.cmake
+++ b/cmake_modules/morse/find/FindQUARK.cmake
@@ -224,7 +224,7 @@ if(QUARK_LIBRARIES)
         set(REQUIRED_INCDIRS "${QUARK_INCLUDE_DIRS}")
     endif()
     if (QUARK_LIBRARY_DIRS)
-        set(CMAKE_REQUIRED_FLAGS "${QUARK_LIBRARY_DIRS}")
+        set(REQUIRED_LIBDIRS "${QUARK_LIBRARY_DIRS}")
     endif()
     set(REQUIRED_LIBS "${QUARK_LIBRARIES}")
     # HWLOC
-- 
GitLab