diff --git a/cmake/f_check.cmake b/cmake/f_check.cmake index e63bd9d4c..d86187ccc 100644 --- a/cmake/f_check.cmake +++ b/cmake/f_check.cmake @@ -30,6 +30,9 @@ else() 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) endif()