mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Implement internal HAL for GEMM and matrix decompositions
This commit is contained in:
@@ -2,6 +2,19 @@
|
||||
# Detect other 3rd-party performance and math libraries
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# --- Lapack ---
|
||||
if(WITH_LAPACK)
|
||||
find_package(LAPACK)
|
||||
if(LAPACK_FOUND)
|
||||
find_path(LAPACK_INCLUDE_DIR "lapacke.h")
|
||||
if(LAPACK_INCLUDE_DIR)
|
||||
set(HAVE_LAPACK 1)
|
||||
ocv_include_directories(${LAPACK_INCLUDE_DIR})
|
||||
list(APPEND OPENCV_LINKER_LIBS ${LAPACK_LIBRARIES})
|
||||
endif()
|
||||
endif(LAPACK_FOUND)
|
||||
endif(WITH_LAPACK)
|
||||
|
||||
# --- TBB ---
|
||||
if(WITH_TBB)
|
||||
include("${OpenCV_SOURCE_DIR}/cmake/OpenCVDetectTBB.cmake")
|
||||
|
||||
@@ -197,3 +197,6 @@
|
||||
|
||||
/* Intel VA-API/OpenCL */
|
||||
#cmakedefine HAVE_VA_INTEL
|
||||
|
||||
/* Lapack */
|
||||
#cmakedefine HAVE_LAPACK
|
||||
|
||||
Reference in New Issue
Block a user