summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
diff options
context:
space:
mode:
authorTim Gallagher <tim.gallagher@gatech.edu>2011-12-13 18:33:31 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-12-13 21:26:33 (GMT)
commitb3c42cb0123c7d21b6a23b1b7517cbb27d55df76 (patch)
tree4c0c2481cda52be525e3b0934cf68915f75ee291 /Modules/FindLAPACK.cmake
parentf603cf2d36bced4fbb191354980849f4c888fb8e (diff)
downloadCMake-b3c42cb0123c7d21b6a23b1b7517cbb27d55df76.zip
CMake-b3c42cb0123c7d21b6a23b1b7517cbb27d55df76.tar.gz
CMake-b3c42cb0123c7d21b6a23b1b7517cbb27d55df76.tar.bz2
FindLAPACK: List thread libs to avoid link errors (#12625)
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r--Modules/FindLAPACK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index 153c8e8..884266f 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)