From 1bf9666490337d2680a8e88cbd3fa789f97df8a5 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 9 Oct 2013 11:51:09 +0000
Subject: [PATCH] fix MKL windows

---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42df03ff99..d203b375b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -250,10 +250,11 @@ if(ENABLE_BLAS_LAPACK)
       # precompiled "gmsh-dep" package)
       if(HAVE_64BIT_SIZE_T)
         set(MKL_PATH em64t/lib)
+        set(MKL_LIBS_REQUIRED libguide40 mkl_intel_lp64 mkl_intel_thread mkl_core)
       else(HAVE_64BIT_SIZE_T)
         set(MKL_PATH ia32/lib)
+        set(MKL_LIBS_REQUIRED libguide40 mkl_intel_c mkl_intel_thread mkl_core)
       endif(HAVE_64BIT_SIZE_T)
-      set(MKL_LIBS_REQUIRED libguide40 mkl_intel_c mkl_intel_thread mkl_core)
       find_all_libraries(LAPACK_LIBRARIES MKL_LIBS_REQUIRED "" ${MKL_PATH})
       if(LAPACK_LIBRARIES)
         set_config_option(HAVE_BLAS "Blas(IntelMKL)")
-- 
GitLab