From eb020d4efc6bb67f1f132426a4bb518f316fc203 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Wed, 30 Dec 2020 13:42:56 +0100
Subject: [PATCH] [MatL] Set USE_MKL according to cmakes OGS_USE_MKL

Fixes #3075
---
 MathLib/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MathLib/CMakeLists.txt b/MathLib/CMakeLists.txt
index 763b6aabc5b..5d6f80476af 100644
--- a/MathLib/CMakeLists.txt
+++ b/MathLib/CMakeLists.txt
@@ -61,5 +61,5 @@ target_compile_definitions(MathLib
     $<$<BOOL:${OGS_USE_EIGEN}>:OGS_USE_EIGEN>
     $<$<BOOL:${CVODE_FOUND}>:CVODE_FOUND>
     PRIVATE
-    $<$<BOOL:${USE_MKL}>:USE_MKL>
+    $<$<BOOL:${OGS_USE_MKL}>:USE_MKL>
 )
-- 
GitLab