718c41634f
1.项目后端整体迁移至PaddleOCR-NCNN算法,已通过基本的兼容性测试 2.工程改为使用CMake组织,后续为了更好地兼容第三方库,不再提供QMake工程 3.重整权利声明文件,重整代码工程,确保最小化侵权风险 Log: 切换后端至PaddleOCR-NCNN,切换工程为CMake Change-Id: I4d5d2c5d37505a4a24b389b1a4c5d12f17bfa38c
29 lines
823 B
CMake
29 lines
823 B
CMake
# --- Dc1394 ---
|
|
if(NOT HAVE_DC1394_2 AND PKG_CONFIG_FOUND)
|
|
ocv_check_modules(DC1394_2 libdc1394-2)
|
|
if(DC1394_2_FOUND)
|
|
set(HAVE_DC1394_2 TRUE)
|
|
endif()
|
|
endif()
|
|
|
|
if(NOT HAVE_DC1394_2)
|
|
find_path(DC1394_INCLUDE "dc1394/dc1394.h"
|
|
PATHS "${DC1394_ROOT}" ENV DC1394_ROOT
|
|
PATH_SUFFIXES "include"
|
|
NO_DEFAULT_PATH)
|
|
find_library(DC1394_LIBRARY "dc1394"
|
|
PATHS "${DC1394_ROOT}" ENV DC1394_ROOT
|
|
PATH_SUFFIXES "lib"
|
|
NO_DEFAULT_PATH)
|
|
if(DC1394_INCLUDE AND DC1394_LIBRARY)
|
|
set(HAVE_DC1394_2 TRUE)
|
|
set(DC1394_2_INCLUDE_DIRS "${DC1394_INCLUDE}")
|
|
set(DC1394_2_LIBRARIES "${DC1394_LIBRARY}")
|
|
set(DC1394_2_VERSION "unknown") # informational
|
|
endif()
|
|
endif()
|
|
|
|
if(HAVE_DC1394_2)
|
|
ocv_add_external_target(dc1394_2 "${DC1394_2_INCLUDE_DIRS}" "${DC1394_2_LIBRARIES}" "HAVE_DC1394_2")
|
|
endif()
|