From 5fd8fa08016e2b5ccd4e542abbdac50553013a2f Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 10 Mar 2022 22:20:13 +0100 Subject: [PATCH] Pass INTERFACE64 to C LAPACK builds if set --- cmake/f_check.cmake | 3 +++ 1 file changed, 3 insertions(+) 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()