feat(camodoal): add camodoal to api layer

This commit is contained in:
John Zhao
2019-01-04 10:34:42 +08:00
parent 097438da20
commit 86a70f8eef
34 changed files with 11062 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/Utils.cmake)
option(WITH_API "Build with API layer, need OpenCV" ON)
option(WITH_DEVICE_INFO_REQUIRED "Build with device info required" ON)
option(WITH_CAM_MODELS "Build with more camera models" OFF)
option(WITH_CAM_MODELS "Build with more camera models, WITH_API must be ON" OFF)
# 3rdparty components
@@ -37,6 +37,9 @@ option(WITH_GLOG "Include glog support" OFF)
if(WITH_API)
include(${CMAKE_CURRENT_LIST_DIR}/DetectOpenCV.cmake)
else()
# Disable WITH_CAM_MODELS if WITH_API is OFF
set(WITH_CAM_MODELS OFF)
endif()
if(WITH_DEVICE_INFO_REQUIRED)