diff options
author | David Cole <david.cole@kitware.com> | 2011-12-06 15:06:52 -0500 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-12-06 15:06:52 -0500 |
commit | cc35c8fad3e72365336770d4fda579254d121137 (patch) | |
tree | 5760b94d945f65d25a5ca7862c4251b799def501 /Modules | |
parent | 4c84aa7346821958834fb0de5e0862d8d5718cd9 (diff) | |
parent | f44f053a52db8f78288705454a04e001b8f2c74c (diff) | |
download | cmake-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.cmake | 2 |
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) |