mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Merge topic 'FindBLAS-LAPACK-OpenBLAS-mingw'
6ce94ae0b7 Find{BLAS,LAPACK}: Fix OpenBLAS ILP64 support with MSYS2 packages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8968
This commit is contained in:
@@ -746,7 +746,11 @@ if(BLA_VENDOR STREQUAL "OpenBLAS" OR BLA_VENDOR STREQUAL "All")
|
||||
set(_blas_openblas_lib "openblas")
|
||||
|
||||
if(_blas_sizeof_integer EQUAL 8)
|
||||
string(APPEND _blas_openblas_lib "64")
|
||||
if(MINGW)
|
||||
string(APPEND _blas_openblas_lib "_64")
|
||||
else()
|
||||
string(APPEND _blas_openblas_lib "64")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT BLAS_LIBRARIES)
|
||||
|
||||
@@ -487,7 +487,11 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
|
||||
set(_lapack_openblas_lib "openblas")
|
||||
|
||||
if(_lapack_sizeof_integer EQUAL 8)
|
||||
string(APPEND _lapack_openblas_lib "64")
|
||||
if(MINGW)
|
||||
string(APPEND _lapack_openblas_lib "_64")
|
||||
else()
|
||||
string(APPEND _lapack_openblas_lib "64")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
check_lapack_libraries(
|
||||
|
||||
Reference in New Issue
Block a user