projects
/
platform
/
upstream
/
opencv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support gstreamer as a backend of videoio module
[platform/upstream/opencv.git]
/
cmake
/
OpenCVFindOpenBLAS.cmake
diff --git
a/cmake/OpenCVFindOpenBLAS.cmake
b/cmake/OpenCVFindOpenBLAS.cmake
index
60594de
..
ae2daaa
100644
(file)
--- a/
cmake/OpenCVFindOpenBLAS.cmake
+++ b/
cmake/OpenCVFindOpenBLAS.cmake
@@
-44,35
+44,35
@@
#license and copyright terms herein.
SET(Open_BLAS_INCLUDE_SEARCH_PATHS
#license and copyright terms herein.
SET(Open_BLAS_INCLUDE_SEARCH_PATHS
- /usr/include
+ $ENV{OpenBLAS_HOME}
+ $ENV{OpenBLAS_HOME}/include
+ /opt/OpenBLAS/include
+ /usr/local/include/openblas
/usr/include/openblas
/usr/include/openblas
+ /usr/local/include/openblas-base
/usr/include/openblas-base
/usr/local/include
/usr/include/openblas-base
/usr/local/include
- /usr/local/include/openblas
- /usr/local/include/openblas-base
- /opt/OpenBLAS/include
- $ENV{OpenBLAS_HOME}
- $ENV{OpenBLAS_HOME}/include
+ /usr/include
)
SET(Open_BLAS_LIB_SEARCH_PATHS
)
SET(Open_BLAS_LIB_SEARCH_PATHS
- /lib/
- /lib/openblas-base
- /lib64/
- /usr/lib
- /usr/lib/openblas-base
- /usr/lib64
- /usr/local/lib
- /usr/local/lib64
- /opt/OpenBLAS/lib
$ENV{OpenBLAS}cd
$ENV{OpenBLAS}/lib
$ENV{OpenBLAS_HOME}
$ENV{OpenBLAS_HOME}/lib
$ENV{OpenBLAS}cd
$ENV{OpenBLAS}/lib
$ENV{OpenBLAS_HOME}
$ENV{OpenBLAS_HOME}/lib
+ /opt/OpenBLAS/lib
+ /usr/local/lib64
+ /usr/local/lib
+ /lib/openblas-base
+ /lib64/
+ /lib/
+ /usr/lib/openblas-base
+ /usr/lib64
+ /usr/lib
)
)
-FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES cblas.h PATHS ${Open_BLAS_INCLUDE_SEARCH_PATHS})
-FIND_LIBRARY(OpenBLAS_LIB NAMES openblas PATHS ${Open_BLAS_LIB_SEARCH_PATHS})
+FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES cblas.h PATHS ${Open_BLAS_INCLUDE_SEARCH_PATHS}
NO_DEFAULT_PATH
)
+FIND_LIBRARY(OpenBLAS_LIB NAMES openblas PATHS ${Open_BLAS_LIB_SEARCH_PATHS}
NO_DEFAULT_PATH
)
SET(OpenBLAS_FOUND ON)
SET(OpenBLAS_FOUND ON)