diff --git a/cmake/system.cmake b/cmake/system.cmake index daa2683d2..236a7e888 100644 --- a/cmake/system.cmake +++ b/cmake/system.cmake @@ -387,6 +387,9 @@ if (NOT NO_LAPACK) if (NOT NO_LAPACKE) set(LIB_COMPONENTS "${LIB_COMPONENTS} LAPACKE") endif () + if (BUILD_RELAPACK) + set(LIB_COMPONENTS "${LIB_COMPONENTS} ReLAPACK") + endif () endif () if (ONLY_CBLAS)