Skip to content

Commit 0b34e0a

Browse files
committed
extra logging
1 parent ae86904 commit 0b34e0a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cmake/FindHipoDeps.cmake

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,28 @@ if (WIN32)
66
if (NOT (BLAS_ROOT STREQUAL ""))
77
message(STATUS "Looking for blas in " ${BLAS_ROOT})
88
set(OpenBLAS_ROOT ${BLAS_ROOT})
9+
message(STATUS "OpenBLAS_ROOT is ${OpenBLAS_ROOT} ")
910
find_package(OpenBLAS CONFIG NO_DEFAULT_PATH)
1011

1112
if(OpenBLAS_FOUND)
1213
message(STATUS "OpenBLAS CMake config path: ${OpenBLAS_DIR}")
14+
else()
15+
message(STATUS "OpenBLAS not found in ${BLAS_ROOT}")
1316
endif()
17+
1418
endif()
1519
if ((BLAS_ROOT STREQUAL "") OR (NOT OpenBLAS_FOUND))
20+
message(STATUS "Looking for blas")
21+
1622
find_package(OpenBLAS CONFIG REQUIRED)
1723

1824
if(OpenBLAS_FOUND)
1925
if(TARGET OpenBLAS::OpenBLAS)
2026
message(STATUS "OpenBLAS CMake config path: ${OpenBLAS_DIR}")
2127
elseif(OPENBLAS_LIB)
2228
message(STATUS "Linking against OpenBLAS via raw library: ${OPENBLAS_LIB}")
29+
else()
30+
message(STATUS "OpenBLAS found but no target?")
2331
endif()
2432
else()
2533
message(FATAL_ERROR "No BLAS library found")

0 commit comments

Comments
 (0)