From 4207e1143e036221154a2ee8baeea5a9035fcfb7 Mon Sep 17 00:00:00 2001 From: Bob Date: Wed, 1 May 2019 15:32:47 -0400 Subject: [PATCH] Fixed logic in MKL_FOUND if MKL_FOUND and if USE_MKL should set BLAS MKL NOT BLAS --- cmake/ChooseBlas.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/ChooseBlas.cmake b/cmake/ChooseBlas.cmake index 5f4af2d89c91..fdf87e8792bc 100644 --- a/cmake/ChooseBlas.cmake +++ b/cmake/ChooseBlas.cmake @@ -24,9 +24,9 @@ if(USE_MKL_IF_AVAILABLE) endif() if(MKL_FOUND) if(USE_MKLDNN) - set(BLAS "open") - else() set(BLAS "MKL") + else() + set(BLAS "open") endif() endif() endif()