Applied the patch, received from akamaev. Also made some changes in CMake files to fix Android camera issue.
This commit is contained in:
@@ -210,7 +210,8 @@ if(APPLE)
|
||||
endif()
|
||||
endif(APPLE)
|
||||
|
||||
if(WITH_ANDROID_CAMERA AND OPENCV_MODULE_ANDROIDCAMERA)
|
||||
set(OPENCV_MODULE_ANDROIDCAMERA "ON") #TODO: fix it
|
||||
if(HAVE_opencv_androidcamera AND OPENCV_MODULE_ANDROIDCAMERA)
|
||||
set(highgui_srcs ${highgui_srcs} src/cap_android.cpp)
|
||||
add_definitions(-DHAVE_ANDROID_NATIVE_CAMERA)#TODO: remove this line
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user