Skip to content

Commit 226a227

Browse files
committed
only use config if BLA_LIBRARIES or BLA_VENDOR is not specified
1 parent e7b38ad commit 226a227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindHipoDeps.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ if (NOT USE_CMAKE_FIND_BLAS)
101101
endif()
102102
else()
103103

104-
if (WIN32)
104+
if (WIN32 AND NOT BLAS_LIBRARIES AND NOT BLA_VENDOR)
105105
find_package(OpenBLAS CONFIG)
106106
if(OpenBLAS_FOUND)
107107
message(STATUS "OpenBLAS CMake config path: ${OpenBLAS_DIR}")

0 commit comments

Comments
 (0)