getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] [getfem-commits] branch master updated: Fix mistake in


From: Konstantinos Poulios
Subject: [Getfem-commits] [getfem-commits] branch master updated: Fix mistake in cmake file
Date: Thu, 07 Mar 2024 04:04:14 -0500

This is an automated email from the git hooks/post-receive script.

logari81 pushed a commit to branch master
in repository getfem.

The following commit(s) were added to refs/heads/master by this push:
     new 6824fbf6 Fix mistake in cmake file
6824fbf6 is described below

commit 6824fbf6410eabc2e7282317261805c57c37a121
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Thu Mar 7 10:04:03 2024 +0100

    Fix mistake in cmake file
---
 CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6d33dc58..184e9392 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -646,7 +646,7 @@ else()
   message("Building with Qhull explicitly disabled")
 endif()
 
-if(ENABLE_MULTITHREADED_BLAS)
+if(NOT ENABLE_MULTITHREADED_BLAS)
   find_library(DL_LIB NAMES dl)
   set(CMAKE_REQUIRED_LIBRARIES ${DL_LIB})
     check_library_exists(dl dlsym "" HAVE_DLSYM)
@@ -655,9 +655,9 @@ if(ENABLE_MULTITHREADED_BLAS)
     target_link_libraries(libgetfem PRIVATE ${DL_LIB})
   else()
     message(FATAL_ERROR
-            "Could not find dlsym function required for enabling multithreaded 
BLAS")
+            "Could not find dlsym function required for forcing singlethreaded 
BLAS")
   endif()
-else() # single threaded blas by default
+  # single threaded blas by default
   set(GETFEM_FORCE_SINGLE_THREAD_BLAS 1)
 endif()
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]