From 54946b20a876ab18cea0a54039b07f1642016385 Mon Sep 17 00:00:00 2001
From: Tim Gallagher <tim.gallagher@gatech.edu>
Date: Tue, 13 Dec 2011 13:34:54 -0500
Subject: [PATCH] Fixed a bug preventing linking of threads in FindLAPACK

---
 Modules/FindLAPACK.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index f88eed0..42cdbaa 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -123,7 +123,7 @@ if(_libraries_work)
 endif(_libraries_work)
 
  if(_libraries_work)
-   set(${LIBRARIES} ${${LIBRARIES}} ${_blas})
+   set(${LIBRARIES} ${${LIBRARIES}} ${_blas} ${_threads})
  else(_libraries_work)
     set(${LIBRARIES} FALSE)
  endif(_libraries_work)
-- 
1.7.7

