Ensure INTERFACE64 gets passed to C LAPACK builds

This commit is contained in:
Martin Kroeker 2022-03-11 10:35:49 +01:00 committed by GitHub
parent 5fd8fa0801
commit b932ccd23f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -285,6 +285,9 @@ if (NOT NOFORTRAN)
include("${PROJECT_SOURCE_DIR}/cmake/fc.cmake") include("${PROJECT_SOURCE_DIR}/cmake/fc.cmake")
else () else ()
set(C_LAPACK 1) set(C_LAPACK 1)
if (INTERFACE64)
set (CCOMMON_OPT "${CCOMMON_OPT} -DLAPACK_ILP64")
endif ()
set(TIMER "NONE") set(TIMER "NONE")
#set(NO_LAPACKE 1) #set(NO_LAPACKE 1)
endif () endif ()