FindLAPACK: List thread libs to avoid link errors (#12625)
This commit is contained in:
parent
f603cf2d36
commit
b3c42cb012
|
@ -123,7 +123,7 @@ if(_libraries_work)
|
||||||
endif(_libraries_work)
|
endif(_libraries_work)
|
||||||
|
|
||||||
if(_libraries_work)
|
if(_libraries_work)
|
||||||
set(${LIBRARIES} ${${LIBRARIES}} ${_blas})
|
set(${LIBRARIES} ${${LIBRARIES}} ${_blas} ${_threads})
|
||||||
else(_libraries_work)
|
else(_libraries_work)
|
||||||
set(${LIBRARIES} FALSE)
|
set(${LIBRARIES} FALSE)
|
||||||
endif(_libraries_work)
|
endif(_libraries_work)
|
||||||
|
|
Loading…
Reference in New Issue