From 9eb1052723fac557f1b4bdd034c8ce8459c4be4d Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Mon, 23 Apr 2018 13:58:46 +0200 Subject: [PATCH] restore these variables of not found with mkl --- modules/find/FindBLAS.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/find/FindBLAS.cmake b/modules/find/FindBLAS.cmake index 8823e87..4fdef0b 100644 --- a/modules/find/FindBLAS.cmake +++ b/modules/find/FindBLAS.cmake @@ -856,6 +856,11 @@ if( (NOT BLAS_FOUND_WITH_PKGCONFIG) OR BLAS_GIVEN_BY_USER ) endif() endif (_LANGUAGES_ MATCHES C OR _LANGUAGES_ MATCHES CXX) endif(NOT BLAS_LIBRARIES OR BLA_VENDOR MATCHES "Intel*") + if (NOT BLAS_LIBRARIES) + set(BLAS_INCLUDE_DIRS "") + set(BLAS_CFLAGS_OTHER "") + set(BLAS_LDFLAGS_OTHER "") + endif() endif (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All") -- GitLab