From 962b20a9bb9ee12cc6ad8381e04bd00bcf1e8e19 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 12 Oct 2017 17:02:01 +0200 Subject: [PATCH] Optionally add ReLAPACK to LIB_COMPONENTS --- cmake/system.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/system.cmake b/cmake/system.cmake index daa2683..236a7e8 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) -- 2.7.4