From b3c42cb0123c7d21b6a23b1b7517cbb27d55df76 Mon Sep 17 00:00:00 2001 From: Tim Gallagher Date: Tue, 13 Dec 2011 13:33:31 -0500 Subject: [PATCH] FindLAPACK: List thread libs to avoid link errors (#12625) --- Modules/FindLAPACK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index 153c8e898..884266fc9 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)