Disable C_LAPACK fallback for MSVC

This commit is contained in:
Martin Kroeker 2022-04-07 17:07:27 +02:00 committed by GitHub
parent ba8995ea4e
commit de8ca69976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -284,12 +284,13 @@ if (NOT NOFORTRAN)
# Fortran Compiler dependent settings # Fortran Compiler dependent settings
include("${PROJECT_SOURCE_DIR}/cmake/fc.cmake") include("${PROJECT_SOURCE_DIR}/cmake/fc.cmake")
else () else ()
set(C_LAPACK 1) if (NOT MSVC)
if (INTERFACE64) set(C_LAPACK 1)
if (INTERFACE64)
set (CCOMMON_OPT "${CCOMMON_OPT} -DLAPACK_ILP64") set (CCOMMON_OPT "${CCOMMON_OPT} -DLAPACK_ILP64")
endif () endif ()
set(TIMER "NONE") set(TIMER "NONE")
#set(NO_LAPACKE 1) endif ()
endif () endif ()
if (BINARY64) if (BINARY64)