summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-12-06 15:06:52 -0500
committerCMake Topic Stage <kwrobot@kitware.com>2011-12-06 15:06:52 -0500
commitcc35c8fad3e72365336770d4fda579254d121137 (patch)
tree5760b94d945f65d25a5ca7862c4251b799def501 /Modules
parent4c84aa7346821958834fb0de5e0862d8d5718cd9 (diff)
parentf44f053a52db8f78288705454a04e001b8f2c74c (diff)
downloadcmake-cc35c8fad3e72365336770d4fda579254d121137.tar.gz
Merge topic 'findlapack-0012477-new'
f44f053 FindLAPACK: Fix linking to static LAPACK on Unix (#12477)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindLAPACK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index bccf789c7c..f88eed07db 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -106,7 +106,7 @@ endforeach(_library ${_list})
if(_libraries_work)
# Test this combination of libraries.
if(UNIX AND BLA_STATIC)
- set(CMAKE_REQUIRED_LIBRARIES ${_flags} "-Wl,--start-group ${${LIBRARIES}} ${_blas};-Wl,--end-group" ${_threads})
+ set(CMAKE_REQUIRED_LIBRARIES ${_flags} "-Wl,--start-group" ${${LIBRARIES}} ${_blas} "-Wl,--end-group" ${_threads})
else(UNIX AND BLA_STATIC)
set(CMAKE_REQUIRED_LIBRARIES ${_flags} ${${LIBRARIES}} ${_blas} ${_threads})
endif(UNIX AND BLA_STATIC)