From b25b3e176283f53fa16349b5be7ce86230af4769 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Wed, 29 May 2024 17:33:24 +0200 Subject: [PATCH] Rerun MKL detection every time CMake is configured --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 85bd48225b..c8ee76ad00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,6 +53,7 @@ option(DLAF_BUILD_DOC "Build documentation" OFF) option(DLAF_WITH_PRECOMPILED_HEADERS "Use precompiled headers." OFF) option(DLAF_WITH_SCALAPACK "Build ScaLAPACK-like C API (requires ScaLAPACK)" OFF) +unset(DLAF_WITH_MKL_TRY_COMPILE CACHE) try_compile( DLAF_WITH_MKL_TRY_COMPILE "${PROJECT_SOURCE_DIR}/cmake/tests" "${PROJECT_SOURCE_DIR}/cmake/tests/mkl_set_num_threads.cpp"