Disable fallback to C_LAPACK for MSVC (needs fixes for complex)
This commit is contained in:
parent
740eea9b62
commit
ba8995ea4e
|
@ -25,16 +25,19 @@ check_language(Fortran)
|
|||
if(CMAKE_Fortran_COMPILER)
|
||||
enable_language(Fortran)
|
||||
else()
|
||||
if (NOT NO_LAPACK)
|
||||
message(STATUS "No Fortran compiler found, can build only BLAS and f2c-converted LAPACK")
|
||||
endif()
|
||||
# set (NO_LAPACK 1)
|
||||
set(C_LAPACK 1)
|
||||
if (INTERFACE64)
|
||||
set (CCOMMON_OPT "${CCOMMON_OPT} -DLAPACK_ILP64")
|
||||
endif ()
|
||||
set(TIMER "NONE")
|
||||
set (NOFORTRAN 1)
|
||||
if (NOT NO_LAPACK)
|
||||
if (NOT MSVC)
|
||||
message(STATUS "No Fortran compiler found, can build only BLAS and f2c-converted LAPACK")
|
||||
set(C_LAPACK 1)
|
||||
if (INTERFACE64)
|
||||
set (CCOMMON_OPT "${CCOMMON_OPT} -DLAPACK_ILP64")
|
||||
endif ()
|
||||
set(TIMER "NONE")
|
||||
else ()
|
||||
message(STATUS "No Fortran compiler found, can build only BLAS")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT ONLY_CBLAS)
|
||||
|
|
Loading…
Reference in New Issue