We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3b262 commit 24e16e6Copy full SHA for 24e16e6
cmake/FindHipoDeps.cmake
@@ -5,6 +5,11 @@ if (NOT BLAS_ROOT STREQUAL "")
5
endif()
6
7
set(USE_CMAKE_FIND_BLAS ON)
8
+if (WIN32 AND (
9
+ NOT BLA_VENDOR OR BLA_VENDOR STREQUAL "OpenBLAS"))
10
+ set(USE_CMAKE_FIND_BLAS OFF)
11
+endif()
12
+
13
14
# Optionally set the vendor:
15
# set(BLA_VENDOR libblastrampoline)
@@ -28,7 +33,7 @@ if (NOT USE_CMAKE_FIND_BLAS)
28
33
# (NOT OpenBLAS_FOUND AND NOT BLAS_FOUND))
29
34
message(STATUS "Looking for blas")
30
35
31
- find_package(OpenBLAS REQUIRED)
36
+ find_package(OpenBLAS CONFIG REQUIRED)
32
37
38
if(OpenBLAS_FOUND)
39
if(TARGET OpenBLAS::OpenBLAS)
0 commit comments