File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,17 @@ message(STATUS "BLAS_ROOT is " ${BLAS_ROOT})
55
66find_library (OPENBLAS_LIB
77 NAMES openblas
8- PATHS "${BLAS_ROOT} /lib" )
8+ PATHS "${BLAS_ROOT} /lib"
9+ NO_DEFAULT_PATH)
910
1011if (OPENBLAS_LIB)
1112 message ("Found OpenBLAS library at ${OPENBLAS_LIB} " )
1213else (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} " )
1820endif (OPENBLAS_LIB)
1921
@@ -25,13 +27,15 @@ message(STATUS "METIS_ROOT is " ${METIS_ROOT})
2527find_path (METIS_PATH
2628 NAMES "metis.h"
2729 REQUIRED
28- PATHS "${METIS_ROOT} /include" )
30+ PATHS "${METIS_ROOT} /include"
31+ NO_DEFAULT_PATH)
2932
3033message ("Found Metis header at ${METIS_PATH} " )
3134
3235find_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
3741message ("Found Metis library at ${METIS_LIB} " )
You can’t perform that action at this time.
0 commit comments