fix(cv): 4.x error , shield the old algorithm temporarily when complie
This commit is contained in:
parent
13bdcf24bd
commit
63e9dda1b2
|
@ -130,7 +130,7 @@ endif()
|
|||
|
||||
## camodocal
|
||||
|
||||
if(WITH_CAM_MODELS)
|
||||
if(WITH_CAM_MODELS AND (NOT WITH_OPENCV4))
|
||||
set(EIGEN_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty)
|
||||
message(STATUS "EIGEN_INCLUDE_DIR: ${EIGEN_INCLUDE_DIR}")
|
||||
|
||||
|
@ -220,7 +220,7 @@ if(WITH_API)
|
|||
src/mynteye/api/processor/rectify_processor_ocv.cc
|
||||
src/mynteye/api/config.cc
|
||||
)
|
||||
if(WITH_CAM_MODELS)
|
||||
if(WITH_CAM_MODELS AND (NOT WITH_OPENCV4))
|
||||
list(APPEND MYNTEYE_SRCS
|
||||
src/mynteye/api/processor/depth_processor.cc
|
||||
src/mynteye/api/processor/points_processor.cc
|
||||
|
|
Loading…
Reference in New Issue
Block a user