From d2703cfee2fa798980ca491fc20e5d2167208a12 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 24 Jun 2019 19:06:55 +0200 Subject: [PATCH] Building utest does not absolutely depend on fortran anymore (this is the cmake equivalent of #2141, useful for testing on time-limited CI) --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 50da721cd..d7d9c2fce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,7 +211,8 @@ if (USE_THREAD) target_link_libraries(${OpenBLAS_LIBNAME} ${CMAKE_THREAD_LIBS_INIT}) endif() -if (MSVC OR NOT NOFORTRAN) +#if (MSVC OR NOT NOFORTRAN) +if (NOT NO_CBLAS) # Broken without fortran on unix add_subdirectory(utest) endif()