Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
23f26fb4
Commit
23f26fb4
authored
7 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: fix LAPACK/MKL detection
parent
1ba29cc9
master
4.3.0
4.2.0
4.1.2
4.1.2-openvino
4.1.1
4.1.1-openvino
4.1.0
4.1.0-openvino
4.0.1
4.0.1-openvino
4.0.0
4.0.0-rc
4.0.0-openvino
4.0.0-beta
4.0.0-alpha
3.4.10
3.4.9
3.4.8
3.4.7
3.4.6
3.4.5
3.4.4
3.4.3
3.4.3-openvino
3.4.2
3.4.2-openvino
3.4.1
3.4.1-cvsdk
3.4.0
3.4.0-rc
3.3.1
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
OpenCVFindLAPACK.cmake
cmake/OpenCVFindLAPACK.cmake
+5
-6
No files found.
cmake/OpenCVFindLAPACK.cmake
View file @
23f26fb4
...
...
@@ -121,7 +121,8 @@ if(WITH_LAPACK)
set
(
LAPACK_IMPL
"LAPACK/MKL"
)
ocv_lapack_check
()
endif
()
if
(
LAPACKE_INCLUDE_DIR AND NOT HAVE_LAPACK
)
if
(
NOT HAVE_LAPACK
)
if
(
LAPACKE_INCLUDE_DIR
)
set
(
LAPACK_INCLUDE_DIR
${
LAPACKE_INCLUDE_DIR
}
)
set
(
LAPACK_CBLAS_H
"cblas.h"
)
set
(
LAPACK_LAPACKE_H
"lapacke.h"
)
...
...
@@ -132,12 +133,10 @@ if(WITH_LAPACK)
set
(
LAPACK_LAPACKE_H
"Accelerate/Accelerate.h"
)
set
(
LAPACK_IMPL
"LAPACK/Apple"
)
ocv_lapack_check
()
else
()
unset
(
LAPACK_LIBRARIES
)
unset
(
LAPACK_LIBRARIES CACHE
)
endif
()
else
()
# LAPACK not found
endif
()
endif
()
if
(
NOT HAVE_LAPACK
)
unset
(
LAPACK_LIBRARIES
)
unset
(
LAPACK_LIBRARIES CACHE
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment