Skip to content

Commit 23a0ed6

Browse files
committed
Update
1 parent 9281316 commit 23a0ed6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

cmake/FindHipoDeps.cmake

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ message(STATUS "BLAS_ROOT is " ${BLAS_ROOT})
55

66
find_library(OPENBLAS_LIB
77
NAMES openblas
8-
PATHS "${BLAS_ROOT}/lib")
8+
PATHS "${BLAS_ROOT}/lib"
9+
NO_DEFAULT_PATH)
910

1011
if(OPENBLAS_LIB)
1112
message("Found OpenBLAS library at ${OPENBLAS_LIB}")
1213
else(OPENBLAS_LIB)
1314
find_library(BLAS_LIB
1415
NAMES blas
1516
REQUIRED
16-
PATHS "${BLAS_ROOT}/lib")
17+
PATHS "${BLAS_ROOT}/lib"
18+
NO_DEFAULT_PATH)
1719
message("Found BLAS library at ${BLAS_LIB}")
1820
endif(OPENBLAS_LIB)
1921

@@ -25,13 +27,15 @@ message(STATUS "METIS_ROOT is " ${METIS_ROOT})
2527
find_path(METIS_PATH
2628
NAMES "metis.h"
2729
REQUIRED
28-
PATHS "${METIS_ROOT}/include")
30+
PATHS "${METIS_ROOT}/include"
31+
NO_DEFAULT_PATH)
2932

3033
message("Found Metis header at ${METIS_PATH}")
3134

3235
find_library(METIS_LIB
3336
NAMES metis libmetis
3437
REQUIRED
35-
PATHS "${METIS_ROOT}/lib" "${METIS_ROOT}/bin")
38+
PATHS "${METIS_ROOT}/lib" "${METIS_ROOT}/bin"
39+
NO_DEFAULT_PATH)
3640

3741
message("Found Metis library at ${METIS_LIB}")

0 commit comments

Comments
 (0)